# helm_charts_additional-configmaps.yaml
{{ if  .Values.halyard.additionalConfigMaps.create -}}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "spinnaker.fullname" . }}-additional-config-maps
  labels:
{{ include "spinnaker.standard-labels" . | indent 4 }}
data:
{{- if  and .Values.halyard.additionalConfigMaps.create .Values.halyard.additionalConfigMaps.data }}
{{- range $index, $content := .Values.halyard.additionalConfigMaps.data }}
  {{ $index }}: |-
{{ $content | indent 4 }}
{{- end }}
{{- end }}
{{- end }}