14 lines
288 B
Smarty
14 lines
288 B
Smarty
{{- define "lib.metadata" }}
|
|
metadata:
|
|
{{- if .customName }}
|
|
name: {{ .customName }}
|
|
{{- else }}
|
|
name: {{ include "chart.fullname" .Context }}
|
|
{{- end }}
|
|
labels:
|
|
{{ include "metadata.labels" .Context | indent 4 }}
|
|
{{- end }}
|
|
|
|
{{- define "metadata.customName" -}}
|
|
{{- end -}}
|