-
Notifications
You must be signed in to change notification settings - Fork 200
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
[OpenShift] Add param to enable/disable servicemonitor #403
Conversation
1226ce4
to
a0a6c6e
Compare
a0a6c6e
to
27d571d
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
27d571d
to
9d09dcc
Compare
The following is the coverage report on the affected files.
|
9d09dcc
to
1307f0d
Compare
The following is the coverage report on the affected files.
|
1307f0d
to
605c9db
Compare
The following is the coverage report on the affected files.
|
Before webhook we had default value for pruner's keep as 1 but we expect user to define all values now so if a user has installed prev version and has not enabled pruner then `keep` will have a value 1 and after upgrading to newer version, webhook will fail if keep has a value and other fields are not defined this handles that case by removing the default for keep if other pruner fields are not defined Signed-off-by: Shivam Mukhade <[email protected]>
This adds a param in TektonConfig & TektonPipeline to disable service monitor which is a part of TektonPipelines for OpenShift. Param will be added by default, user can change the value in TektonConfig to false to disable. Value is added in openshift extension and not in webhook as this is platform specific param. If invalid value is passed then default value is set for param to avoid installation failure. Users can pass valid values and change the param. Signed-off-by: Shivam Mukhade <[email protected]>
605c9db
to
f1b3a7d
Compare
The following is the coverage report on the affected files.
|
/hold cancel |
/lgtm |
This adds a param in TektonConfig & TektonPipeline to disable service monitor
which is a part of TektonPipelines for OpenShift.
Param will be added by default, user can change the value in TektonConfig
to false to disable.
Value is added in openshift extension and not in webhook as this is
platform specific param.
If invalid value is passed then default value is set for param to avoid
installation failure. Users can pass valid values and change the param.
Signed-off-by: Shivam Mukhade [email protected]
Also,
Handle upgrade from older version which has pruner defaults
Before webhook we had default value for pruner's keep as 1
but we expect user to define all values now so if a user has
installed prev version and has not enabled pruner then
keep
will have a value 1 and after upgrading to newer version,
webhook will fail if keep has a value and other fields are not defined
this handles that case by removing the default for keep if
other pruner fields are not defined
Signed-off-by: Shivam Mukhade [email protected]
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.
Release Notes