feat: use common 'custom' namespace for helper'
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 1m14s
lint-test-helm / validate-kubeconform (pull_request) Successful in 55s

This commit is contained in:
2026-04-20 15:10:06 -05:00
parent c84bae1a0f
commit e92246ec8b
25 changed files with 93 additions and 93 deletions

View File

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