feat: add template common.secret
This commit is contained in:
13
templates/_secret.yaml
Normal file
13
templates/_secret.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
|
||||||
|
{{- define "common.secret.tpl" -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
{{ include "common.metadata" . }}
|
||||||
|
type: Opaque
|
||||||
|
data: {}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "common.secret" -}}
|
||||||
|
{{- include "common.utils.flattenCall" (list "common.utils.merge" . "common.secret.tpl") -}}
|
||||||
|
{{- end -}}
|
Reference in New Issue
Block a user