Provides an Override to the WATCH_NAMESPACE env variable. (#923)

Co-authored-by: João Valença <joao.valenca@feedzai.com>
This commit is contained in:
João Valença
2024-02-04 18:34:36 +01:00
committed by GitHub
co-authored by João Valença
parent 332eabe8d7
commit bfda3c8cf9
3 changed files with 11 additions and 3 deletions
@@ -57,6 +57,8 @@ spec:
- name: WATCH_NAMESPACE
{{- if .Values.jenkins.enabled }}
value: {{ .Values.jenkins.namespace }}
{{- else if .Values.operator.watchNamespace }}
value: {{ .Values.operator.watchNamespace }}
{{- else }}
valueFrom:
fieldRef:
+4
View File
@@ -308,6 +308,10 @@ operator:
# fullnameOverride overrides the deployment name
fullnameOverride: ""
# Select a different namespace to look for the Jenkins CR and deploy Jenkins in. Defaults to the same namespace as
# the operator.
# watchNamespace: "jenkins-namespace"
resources: {}
nodeSelector: {}
tolerations: []