ContainerImage.JSONServer/charts/json-server/templates/configmap.yaml

10 lines
282 B
YAML
Raw Normal View History

2023-05-13 15:38:19 +00:00
{{- if not .Values.jsonserver.data.existingConfigMap }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-configmap
data:
db.json: |
2023-05-13 15:38:19 +00:00
{{ include "common.tplvalues.render" ( dict "value" .Values.jsonserver.data.configInline "context" $) | indent 4 }}
{{- end -}}