-
Notifications
You must be signed in to change notification settings - Fork 284
🐛 remove webhooks for old APIversion v1alpha4 #1240
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
🐛 remove webhooks for old APIversion v1alpha4 #1240
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
Welcome @bavarianbidi! |
|
Hi @bavarianbidi. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
|
/ok-to-test |
528ae1d to
bb648d4
Compare
bb648d4 to
73ce44d
Compare
0108db3 to
fd58e36
Compare
|
The test is failing because of |
|
@bavarianbidi @tobiasgiese I wonder if we should pre-emptively change the v1alpha5 names to match. I say 'I wonder' because I genuinely don't know. Going to look at a couple of other projects to see what they do. |
... and now I see the previous discussion and you're way ahead of me 🤦 Oh well, it was interesting reading! |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bavarianbidi, mdbooth 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 |
|
Would you squash the commits before merging @bavarianbidi? I don't think it's worth having them separately |
* as we already have webhooks for v1alpha5 we don't need webhooks for older versions anymore. * remove v1alpha4 from webhook mgr setup * remove defaultIdentityRefKind const in v1alpha4 Signed-off-by: Mario Constanti <[email protected]>
fd19b3a to
51fdcd9
Compare
|
/lgtm Thanks for contributing @bavarianbidi 🙂 👍🏻 |
|
/cherry-pick release-0.6 |
|
@mdbooth: once the present PR merges, I will cherry-pick it on top of release-0.6 in a new PR and assign it to you. In response to this:
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. |
|
@mdbooth: new pull request created: #1241 In response to this:
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. |
This PR removes webhooks for old v1alpha4 apiVersions as the new default version is already set to v1alpha5.
This is done the same way how other Infrastructureproviders have implemented it (e.g. CAPA)
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #1238
Special notes for your reviewer:
i just take a look how CAPA is doing it. They only have one webhooks for the current apiVersion. For older apiVersions they don't have any webhook anymore:
Mainbranch - v1beta1: https://github.com/kubernetes-sigs/cluster-api-provider-aws/tree/main/api/v1beta1
Mainbranch - v1alpha4: https://github.com/kubernetes-sigs/cluster-api-provider-aws/tree/main/api/v1alpha4
Commit: kubernetes-sigs/cluster-api-provider-aws@4274a5a?diff=split
TODOs:
/hold