-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Explicitly setting CertManager APIVersion to V1 #3189
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
Conversation
Welcome @hawkesn! |
Hi @hawkesn. 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. |
{{- else }} | ||
apiVersion: cert-manager.io/v1alpha2 | ||
{{- end }} | ||
apiVersion: cert-manager.io/{{ .Values.certManagerApiVersion }} |
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.
Lets specify the v1 version explicitly and we specify the min cert-manager version in our documents.
Why would one want to explicitly specify this? |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #3189 +/- ##
=======================================
Coverage 54.70% 54.70%
=======================================
Files 148 148
Lines 8590 8590
=======================================
Hits 4699 4699
Misses 3559 3559
Partials 332 332 ☔ View full report in Codecov by Sentry. |
Since |
My question was to the author as to why an admin would want to explicitly specify apiVersion. The existing The v1 API was introduced in cert-manager 1.0.0, released September 2020. It's probably time to drop support for older cert-manager. |
I agree with you that we should drop support for the older cert-manager, I let a user specify it for backwards compatibility reasons (just in case), but you're both right @kishorj and @johngmyers, it's 2023 now and we should use |
/ok-to-test |
@kishorj thanks for approving to test! Looks like the tests have passed 🎉 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hawkesn, kishorj 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 |
should this have been released with chart version 1.5.3, or is it still pending a release?
|
@sudermanjr, we will need a new chart release. Chart version 1.5.3 doesn't contain the changes from this PR. |
Issue
aws/eks-charts#942
and
Fixes: #3188
Description
This PR explicitly sets v1 for the certmanager API version:
apiVersion: cert-manager.io/v1
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯
Testing
Ran
helm template --set clusterName=test .
This continues to function as normal.
Ran
helm template --set clusterName=test --set enableCertManager=true .
apiVersion of cert-manager is set to v1.