diff --git a/charts/clearml-agent/templates/agentk8sglue-configmap.yaml b/charts/clearml-agent/templates/agentk8sglue-configmap.yaml index 9cc5bc0..9813599 100644 --- a/charts/clearml-agent/templates/agentk8sglue-configmap.yaml +++ b/charts/clearml-agent/templates/agentk8sglue-configmap.yaml @@ -11,7 +11,7 @@ data: {{- if .Values.imageCredentials.enabled }} imagePullSecrets: {{- if .Values.imageCredentials.existingSecret }} - - name: .Values.imageCredentials.existingSecret + - name: {{.Values.imageCredentials.existingSecret}} {{- else }} - name: {{ include "agentk8sglue.referenceName" . }}-clearml-agent-registry-key {{- end }}