-
Notifications
You must be signed in to change notification settings - Fork 458
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
Update webhook failurePolicy from Ignore to Fail #1784
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: knkski The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Updates katib-controller webhook for operator and manifests to set failurePolicy to Fail. This allows for greater visibility on errors.
72be842
to
d3c3f08
Compare
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.
/cc @andreyvelich
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.
Thank you for this update @knkski!
Do we want to include this change to Katib 0.13 release ?
/retest |
It seems that this change doesn't work on K8s 1.18. |
fc50672
to
9bc8bda
Compare
I've only tested as far back as 1.21. It does look like mutating/validating webhooks in 1.18 have a As far as which version to release this in, no strong preference. Whichever works best for you. |
9bc8bda
to
e61a98c
Compare
Adds new charmcraft.yaml that is required by charmhub.io. Also adds name field to bundle.yaml, as required by charmhub.io.
e61a98c
to
68e2761
Compare
@knkski: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@@ -53,7 +51,6 @@ webhooks: | |||
- experiments | |||
- name: mutator.pod.katib.kubeflow.org | |||
sideEffects: None | |||
failurePolicy: Ignore |
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.
Hi, @knkski !
I think that we need to specify Ignore
in mutator.pod.katib.kubeflow.org
since the katib-cert-generator
job generates a Pod before the certificate is injected into MutatingWebhookConfiguration
.
Apologies for the delay in responding, @DomFleischmann will be taking this over |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We can close this in favour to PR: #2018 |
What this PR does / why we need it:
Updates
katib-controller
webhook for operator and manifests to setfailurePolicy
toFail
. This allows for greater visibility on errors. Also updates webhook creation handling inkatib-controller
operator.