Skip to content

Commit 6d5aa20

Browse files
committed
Fixed defaulting of chart version
1 parent a9f17b8 commit 6d5aa20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helmfile/charts/kconmon/templates/agent/daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ spec:
5656
sysctl -w net.ipv4.tcp_sack=0
5757
sysctl -w net.ipv4.tcp_fack=0
5858
imagePullPolicy: IfNotPresent
59-
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ default .Values.docker.tag .Chart.Version }}"
59+
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ .Values.docker.tag | default .Chart.Version }}"
6060
securityContext:
6161
privileged: true
6262
runAsUser: 0
6363
{{ end }}
6464

6565
containers:
6666
- name: agent
67-
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ default .Values.docker.tag .Chart.Version }}"
67+
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ .Values.docker.tag | default .Chart.Version }}"
6868
imagePullPolicy: IfNotPresent
6969
args:
7070
- node

helmfile/charts/kconmon/templates/controller/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
serviceAccountName: kconmon
3030
containers:
3131
- name: agent
32-
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ default .Values.docker.tag .Chart.Version }}"
32+
image: "{{ required "Please specify the docker image" .Values.docker.image }}:{{ .Values.docker.tag | default .Chart.Version }}"
3333
imagePullPolicy: IfNotPresent
3434
args:
3535
- node

0 commit comments

Comments
 (0)