mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-20 04:26:28 +00:00
chart: fix reloader-namespaceSelector helper comment
The helper only emits namespaceSelector when watchGlobally is true (matches values.yaml and the chart README). The old comment said the opposite and made the condition look inverted. Fixes #1188 Signed-off-by: Dean Chen <862469039@qq.com>
This commit is contained in:
@@ -80,7 +80,8 @@ meta.helm.sh/release-name: {{ .Release.Name | quote }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the namespace selector if it does not watch globally
|
||||
Emit reloader.namespaceSelector when watching globally (label filter on namespaces).
|
||||
Only used when reloader.watchGlobally is true; see chart README / values comments.
|
||||
*/}}
|
||||
{{- define "reloader-namespaceSelector" -}}
|
||||
{{- if and .Values.reloader.watchGlobally .Values.reloader.namespaceSelector -}}
|
||||
|
||||
Reference in New Issue
Block a user