mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-06 16:11:11 +02:00
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:
co-authored by
João Valença
parent
332eabe8d7
commit
bfda3c8cf9
@@ -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:
|
||||
|
||||
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user