feat: add template common.configMap

This commit is contained in:
Chi-En Wu
2020-04-15 16:10:58 +08:00
parent bcce24e19a
commit c1491285e5

12
templates/_configmap.yaml Normal file
View File

@ -0,0 +1,12 @@
{{/* vim: set filetype=mustache: */}}
{{- define "common.configMap.tpl" -}}
apiVersion: v1
kind: ConfigMap
{{ include "common.metadata" . }}
data: {}
{{- end -}}
{{- define "common.configMap" -}}
{{- include "common.utils.flattenCall" (list "common.utils.merge" . "common.configMap.tpl") -}}
{{- end -}}