Files
infrastructure/clusters/cl01tl/helm/backrest/templates/_helpers.tpl
Alex Lebens 60213a92d3
Some checks failed
lint-test-helm / lint-helm (pull_request) Failing after 1m22s
lint-test-helm / validate-kubeconform (pull_request) Has been skipped
feat: use helper
2026-04-19 21:03:44 -05:00

25 lines
449 B
Smarty

{{/*
Common labels
*/}}
{{- define "backrest.labels" -}}
{{ include "backrest.selectorLabels" $ }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "backrest.selectorLabels" -}}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
{{- end }}
{{/*
NFS names
*/}}
{{- define "backrest.storageNfsName" -}}
backrest-nfs-storage
{{- end -}}
{{- define "backrest.shareNfsName" -}}
backrest-nfs-share
{{- end -}}