13 lines
287 B
Smarty
13 lines
287 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 -}} |