charts/dgrsc/templates/configmap.yaml
{{- if .Values.config.enabled }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "dgrsc.configname" . }}-config
{{- if not .Values.config.releaseScoped }}
annotations:
"helm.sh/resource-policy": keep
{{- end }}
data: {{ toYaml .Values.config.configMap | nindent 2 }}
{{- end }}