Skip to content

Commit

Permalink
Merge pull request #1021 from TBeijen/app_image_fix
Browse files Browse the repository at this point in the history
Chart fix to use AppVersion by default, allow override via values.yaml
  • Loading branch information
Eric Greer committed Feb 24, 2022
2 parents 0c52160 + 38f5f12 commit ac0402e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/kuberhealthy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ spec:
{{- end }}
containers:
{{- if .Values.imageRegistry }}
- image: {{ .Values.imageRegistry }}/{{ .Values.image.repository }}:{{ .Chart.AppVersion }}
- image: {{ .Values.imageRegistry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}
{{- else if .Values.image.registry }}
- image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Chart.AppVersion }}
- image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion}}
{{- end }}
command: {{ .Values.deployment.command }}
{{- if .Values.deployment.args }}
Expand Down
3 changes: 2 additions & 1 deletion deploy/helm/kuberhealthy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ imageRegistry: {}
image:
registry: kuberhealthy
repository: kuberhealthy
tag: v2.4.1
# Leave empty to use .Chart.AppVersion
tag:

resources:
requests:
Expand Down

0 comments on commit ac0402e

Please sign in to comment.