{{- range $key, $value := .Values.agentGroups }} {{- with $value }} --- {{ if .clearmlConfig }} apiVersion: v1 kind: Secret metadata: name: {{ .name }}-conf data: clearml.conf: {{ .clearmlConfig | b64enc }} {{ end }} {{- end }} {{- end }}