Skip to content

Commit 5c510c4

Browse files
committed
use app version from release chart
1 parent ba1ae76 commit 5c510c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/ziti-webhook/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
spec:
2727
containers:
2828
- name: ziti-admission-webhook
29-
image: "{{ .Values.deployment.image.repo }}:{{ .Values.deployment.image.tag }}"
29+
image: "{{ .Values.deployment.image.repo }}:{{ .Values.deployment.image.tag | default .Chart.AppVersion }}"
3030
imagePullPolicy: {{ .Values.deployment.image.pullPolicy }}
3131
ports:
3232
- containerPort: {{ .Values.server.port }}

charts/ziti-webhook/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ deployment:
4040
name: "ziti-admission-wh-deployment"
4141
image:
4242
repo: "docker.io/netfoundry/ziti-k8s-agent"
43-
tag: "latest"
43+
tag: "" # Empty defaults to chart's appVersion
4444
pullPolicy: "IfNotPresent"
4545
replicas: 1
4646
resources:

0 commit comments

Comments
 (0)