-
Notifications
You must be signed in to change notification settings - Fork 259
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
🌱 adopt manifests for kustomize v5 #1353
🌱 adopt manifests for kustomize v5 #1353
Conversation
Hi @LittleChimera. Thanks for your PR. I'm waiting for a metal3-io 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 |
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.
Thanks for working on this!
I have been working upstream with kustomize and kubebuilder in kubernetes-sigs/kustomize#5049 and kubernetes-sigs/kubebuilder#3539 to get this fixed at the source. I believe we will end up removing the CA injection patches and just rely on replacements
to set the annotations. However, I'm happy to take this in while still figuring out the details upstream. (We don't have the issue of multiple patches in one file, since we have the mutating webhook patch commented out.) When we reach a conclusion upstream I will also try to propagate it here to keep things consistent.
/lgtm
|
||
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. | ||
# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks. | ||
# 'CERTMANAGER' needs to be enabled to use ca injection | ||
- webhookcainjection_patch.yaml | ||
- path: webhookcainjection_patch.yaml |
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.
A note for the future: This one will work as it is, but if we at some point want to enable to mutating webhook (which is now in the same file but commented out) then it will break as long as kubernetes-sigs/kustomize#5049 is unresolved.
It is easy to fix though so no need to worry about it. Just split the patch into two files.
/test-centos-e2e-integration-main |
@lentzi90 seems like you also solved the same issue in your PR. If you're close to merging, it's probably easier to just close this one. Thanks for the quick response 🙏 |
No no I'm happy to take this. This will make it easier for me to progress with what I was actually trying to do, i.e. reorganize and add Kustomize Components 🙂 |
Can we merge this? |
Yes let's get an approver to look at it! |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kashifest 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 |
What this PR does / why we need it:
building kustomize layers with kustomize v5 outputs warnings of deprecation