charts/member-agent/templates/cloudconfig.yaml (10 lines of code) (raw):

{{- if eq .Values.propertyProvider "azure" }} apiVersion: v1 kind: Secret metadata: name: cloud-config namespace: {{ .Values.namespace }} type: Opaque data: config.json: {{ .Values.config.azureCloudConfig | toJson | indent 4 | b64enc | quote }} {{- end }}