renovate-charts/templates/configmap.yaml

16 lines
385 B
YAML
Raw Normal View History

2021-10-28 17:41:17 +00:00
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "renovate.fullname" . }}-env
labels:
{{- include "renovate.labels" . | nindent 4 }}
data:
{{- if not (hasKey .Values.renovate "env") -}}
{{- $_ := set .Values "env" dict -}}
{{- end -}}
{{/* SETUP CONFIG */}}
{{ range $key, $value := .Values.renovate.env }}
{{ upper $key}}: {{ quote $value }}
{{ end }}