softplayer-helm-lib/charts/workload/templates/metadata/_base.tpl

14 lines
287 B
Smarty
Raw Normal View History

2024-05-13 15:20:21 +00:00
{{- define "lib.metadata" }}
metadata:
2024-05-19 16:56:41 +00:00
{{- if .customName }}
2024-05-13 15:20:21 +00:00
name: {{ .customName }}
{{- else }}
name: {{ include "chart.fullname" .Context }}
{{- end }}
labels:
{{ include "metadata.labels" .Context | indent 4 }}
{{- end }}
{{- define "metadata.customName" -}}
{{- end -}}