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

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