-
Notifications
You must be signed in to change notification settings - Fork 22
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
updated controller-runtime #373
Conversation
- removed controller-filtered cache fixed make bundle not generating alm-examples because the sample did not match the apiVersion needed to comment out the removing secret and apiservice temporarily to avoid caching those resources Signed-off-by: Henry H Li <henry.h.li@ibm.com>
- APIService was something created before the cert-manager v1 migration - will never exist in fresh install - in upgrade scenarios, users must be running at least 3.19.9, which means APIService would have been removed already Signed-off-by: Henry H Li <henry.h.li@ibm.com>
- because the old code was only concerned about checking if the pre v1 cert-manager annotation was there, but what actually matters is if the v1 annotation exists or not - by deleting the old webhook secret if it does not contain the correct annotation (cert-manager.io/allow-direct-injection) - also not setting up the cache for secrets at all to avoid overhead and directly reading from API server since this is infrequently invoked code Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Built image locally, deployed to my 4.2 environment, scaled it down, deleted operands, scaled it up, operands redeployed as expected. Going to approve and merge |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bitscuit, bluzarraga 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 |
fixed make bundle not generating alm-examples because the sample did not match the apiVersion
needed to comment out the removing secret and apiservice temporarily to avoid caching those resources
How to test
Not much to do, just ensure it can deploy the operands successfully