feat: use common 'custom' namespace for helper'

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

View File

@@ -1,14 +1,14 @@
{{/*
Common labels
*/}}
{{- define "cert-manager.labels" -}}
{{ include "cert-manager.selectorLabels" $ }}
{{- define "custom.labels" -}}
{{ include "custom.selectorLabels" $ }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "cert-manager.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 "cert-manager.cloudflareSecretName" -}}
{{- define "custom.cloudflareSecretName" -}}
cert-manager-cloudflare-api-token
{{- end -}}
{{- define "cert-manager.cloudflareSecretKey" -}}
{{- define "custom.cloudflareSecretKey" -}}
api-token
{{- end -}}