Skip to content

Commit

Permalink
make sure git sha is always a string when rendered in template (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson authored Jan 24, 2024
1 parent 8089481 commit 707cdd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/tembo-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: tembo-operator
description: 'Helm chart to deploy the tembo-operator'
type: application
icon: https://cloud.tembo.io/images/TemboElephant.png
version: 0.2.3
version: 0.2.4
home: https://tembo.io
sources:
- https://github.com/tembo-io/tembo-stacks
Expand Down
2 changes: 1 addition & 1 deletion charts/tembo-operator/templates/deployment-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
{{- end }}
spec:
containers:
- image: {{ (index .Values "controller").image.repository }}:{{ tpl (index .Values "controller").image.tag . }}
- image: {{ (index .Values "controller").image.repository }}:{{ tpl (printf "%s" (index .Values "controller").image.tag) . }}
imagePullPolicy: {{ (index .Values "controller").image.pullPolicy }}
name: tembo-controller
{{- with (index .Values "controller").extraEnv }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tembo-operator/templates/deployment-pod-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
{{- end }}
spec:
containers:
- image: {{ (index .Values "pod-init").image.repository }}:{{ tpl (index .Values "pod-init").image.tag . }}
- image: {{ (index .Values "pod-init").image.repository }}:{{ tpl (printf "%s" (index .Values "pod-init").image.tag) . }}
imagePullPolicy: {{ (index .Values "pod-init").image.pullPolicy }}
name: pod-init
env:
Expand Down

0 comments on commit 707cdd4

Please sign in to comment.