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:
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: []
|
||||
|
|
|
|||
|
|
@ -127,11 +127,13 @@ Name of resource. The pod name will be <code>jenkins-<name></code> (name w
|
|||
<code>namespace</code>
|
||||
</td>
|
||||
<td>
|
||||
default
|
||||
""
|
||||
</td>
|
||||
<td>
|
||||
Namespace the resources will be deployed to. It's not recommended to use default namespace.
|
||||
Create new namespace for jenkins (e.g. <code>kubectl create -n jenkins</code>)
|
||||
Namespace the resources will be deployed to. If omitted, the resources will be deployed to the same namespace as the operator.
|
||||
It's not recommended to use default namespace. Create new namespace for jenkins (e.g. <code>kubectl create -n jenkins</code>).
|
||||
|
||||
<b>Note:</b> If the Jenkins instance is disabled, this property will be ignored. Use the `operator.watchNamespace` property instead.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue