softplayer-helm-lib/charts/testing/templates/metadata/_base.tpl
2024-05-05 18:51:37 +02:00

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 -}}