Allow seed datainjection into configmap
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -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 -}}
|
||||
|
Reference in New Issue
Block a user