Skip to content

Commit d6cc349

Browse files
authored
fix(chart): allow image override when appVersion is set (#111)
1 parent e46ac9b commit d6cc349

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

chart/cert-manager-webhook-ionos-cloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.1
18+
version: 0.3.2

chart/cert-manager-webhook-ionos-cloud/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccountName: {{ include "cert-manager-webhook-ionos-cloud.fullname" . }}
1919
containers:
2020
{{- $imageTag := .Values.image.tag -}}
21-
{{- if .Chart.AppVersion }}
21+
{{- if and .Chart.AppVersion (not .Values.image.override) }}
2222
{{- $imageTag = .Chart.AppVersion -}}
2323
{{- end }}
2424
- name: {{ .Chart.Name }}

chart/cert-manager-webhook-ionos-cloud/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ image:
3838
tag: latest
3939
repository: ghcr.io/ionos-cloud/cert-manager-webhook-ionos-cloud
4040
pullPolicy: IfNotPresent
41+
override: false
4142

4243
nameOverride: ""
4344
fullnameOverride: ""

0 commit comments

Comments
 (0)