Skip to content

Commit

Permalink
fix buildstrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Jun 6, 2024
1 parent 22d2a7f commit e7e3989
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ metadata:
categories: Integration & Delivery
certified: "false"
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.1.2
createdAt: "2024-06-06T16:23:55Z"
createdAt: "2024-06-06T18:19:06Z"
description: Kubero is a GitOps continuous delivery tool for Kubernetes.
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/kuberoapp/templates/deployment-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
- name: {{ .Chart.Name }}-web
securityContext:
{{- toYaml .Values.image.run.securityContext | nindent 12 }}
{{- if or (eq .Values.deploymentstrategy "docker") (or (eq .Values.buildstrategy "dockerfile") (eq .Values.buildstrategy "nixpacks")) }}
{{- if or (eq .Values.deploymentstrategy "docker") (or (eq .Values.buildstrategy "dockerfile") (eq .Values.buildstrategy "nixpacks") (eq .Values.buildstrategy "kpacks") (eq .Values.buildstrategy "external")) }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
{{- if .Values.image.command }}
command:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/kuberoapp/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
- name: {{ .Chart.Name }}-worker
securityContext:
{{- toYaml .Values.image.run.securityContext | nindent 12 }}
{{- if or (eq .Values.deploymentstrategy "docker") (or (eq .Values.buildstrategy "dockerfile") (eq .Values.buildstrategy "nixpacks")) }}
{{- if or (eq .Values.deploymentstrategy "docker") (or (eq .Values.buildstrategy "dockerfile") (eq .Values.buildstrategy "nixpacks") (eq .Values.buildstrategy "kpacks") (eq .Values.buildstrategy "external")) }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
{{- if .Values.image.command }}
command:
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/kuberoapp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
mainnamespace: kubero
buildpack: Docker
deploymentstrategy: git # git|docker
buildstrategy: plain # plain|nixpacks|dockerfile
buildstrategy: plain # plain|nixpacks|dockerfile|kpacks|external
registry: registry-service.kubero.svc.cluster.local:5000

gitrepo:
Expand Down

0 comments on commit e7e3989

Please sign in to comment.