ContainerImage.JSONServer/charts/json-server/templates/configmap.yaml
Danny Bessems be3f0d2466
Some checks failed
continuous-integration/drone/push Build is failing
Allow seed datainjection into configmap
2023-05-13 17:28:45 +02:00

10 lines
284 B
YAML

{{- if not .Values.json-server.data.existingConfigMap }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-configmap
data:
db.json: |
{{ include "common.tplvalues.render" ( dict "value" .Values.json-server.data.configInline "context" $) | indent 4 }}
{{- end -}}