{{- if .Values.createConfigMap -}}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Release.Name }}-environment
data:
{{ toYaml .Values.environment | indent 2 }}
{{- end }}
