Skip to content

Commit be0d33c

Browse files
authored
fix: imagePullSecrets correct place template (#26)
Correct position for imagePullSecrets in the daemonset template.
1 parent d0aa5ef commit be0d33c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/eks-node-monitoring-agent/templates/daemonset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ spec:
3131
serviceAccountName: {{ template "eks-node-monitoring-agent.serviceAccountName" . }}
3232
hostNetwork: true
3333
hostPID: true
34+
{{- with .Values.imagePullSecrets }}
35+
imagePullSecrets:
36+
{{- toYaml . | nindent 8 }}
37+
{{- end }}
3438
containers:
3539
- name: {{ .Chart.Name }}
3640
image: {{ template "eks-node-monitoring-agent.image" . }}
@@ -52,10 +56,6 @@ spec:
5256
httpGet:
5357
path: /healthz
5458
port: 8002
55-
{{- with .Values.imagePullSecrets }}
56-
imagePullSecrets:
57-
{{- toYaml . | nindent 8 }}
58-
{{- end }}
5959
{{- with .Values.nodeAgent.resources }}
6060
resources:
6161
{{- toYaml . | nindent 12 }}

0 commit comments

Comments
 (0)