10 lines
284 B
YAML
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 -}}
|