Allow seed datainjection into configmap
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-05-13 17:28:45 +02:00
parent 44add4ee72
commit be3f0d2466
3 changed files with 14 additions and 15 deletions

View File

@ -1,14 +1,9 @@
{{- if not .Values.json-server.data.existingConfigMap }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-configmap
data:
db.json: |
{
"metacluster": {
"version": "3.2.0",
"title": "json-server",
"author": "typicode"
},
"foo": { "bar": "woot" }
}
{{ include "common.tplvalues.render" ( dict "value" .Values.json-server.data.configInline "context" $) | indent 4 }}
{{- end -}}