-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provides an Override to the WATCH_NAMESPACE env variable. #923
Provides an Override to the WATCH_NAMESPACE env variable. #923
Conversation
@@ -57,6 +57,8 @@ spec: | |||
- name: WATCH_NAMESPACE | |||
{{- if .Values.jenkins.enabled }} | |||
value: {{ .Values.jenkins.namespace }} | |||
{{- else if .Values.operator.watchNamespace }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add this option in values.yaml but commented with a short explanation on how to use it. Thanks
863c217
to
06992a4
Compare
The test are failing for another reason, I will fix it so you can merge master in this branch e we can merge the PR. |
Can you merge/rebase master in this PR? |
In case the Jenkins instance is disabled, this commit allows us to pick a different namespace for the deployment by configuring the operator object instead of the jenkins object.
06992a4
to
19d936d
Compare
Thanks for your contribution |
) Co-authored-by: João Valença <[email protected]>
In case the Jenkins instance is disabled, this commit allows us to pick a different namespace for the deployment by configuring the operator object instead of the jenkins object.
Changes
Adds a new operator.watchNamespace value that should be used in case jenkins.enabled is set to false.
Updates and cleans up the documentation to reflect this change.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS.
Release Notes