-
Notifications
You must be signed in to change notification settings - Fork 1.5k
cert-manager apiversion to v1 #2189
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
cert-manager apiversion to v1 #2189
Conversation
Signed-off-by: cw-sakamoto <[email protected]>
Hi @cw-sakamoto. 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. |
Codecov Report
@@ Coverage Diff @@
## main #2189 +/- ##
=======================================
Coverage 53.55% 53.55%
=======================================
Files 136 136
Lines 7607 7607
=======================================
Hits 4074 4074
Misses 3217 3217
Partials 316 316 Continue to review full report at Codecov.
|
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.
We'd also need to modify the installation guide to install the correct version of the cert-manager. Also need to change config/certmanager/certificate.yaml
/ok-to-test |
Signed-off-by: cw-sakamoto <[email protected]>
cb5891e
to
34f7c26
Compare
@kishorj |
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.
I have a concern regarding setups with existing cert-manager installation. If we can address the issue I've commented below, I feel comfortable to include the changes as part of next release.
@@ -142,7 +142,7 @@ data: | |||
tls.crt: {{ $tls.clientCert }} | |||
tls.key: {{ $tls.clientKey }} | |||
{{- else }} | |||
apiVersion: cert-manager.io/v1alpha2 | |||
apiVersion: cert-manager.io/v1 |
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.
Customers with old cert-manager setup will not be able to upgrade to the new load balancer controller chart since the old setup doesn't recognize v1 version. This will confuse the end users.
Is it possible to use .Capabilities.APIVersions.Has
to use v1 only if support is available?
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.
It can be done as follows, but --validate
is required if we want to use CRD apiversion for .Capabilities.APIVersions.Has
.
helm template aws-load-balancer-controller ./aws-load-balancer-controller -f settings.yaml -n kube-system --validate
Signed-off-by: cw-sakamoto <[email protected]>
Signed-off-by: cw-sakamoto <[email protected]>
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cw-sakamoto, 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 |
* cert-manager apiversion to v1 Signed-off-by: cw-sakamoto <[email protected]> * Add .Capabilities.APIVersions.Has for cert-manager template Signed-off-by: cw-sakamoto <[email protected]> * modify for cert-manager helm template Signed-off-by: cw-sakamoto <[email protected]> Co-authored-by: Kishor Joshi <[email protected]>
Signed-off-by: cw-sakamoto [email protected]
Issue
Description
I recreate PR for aws/eks-charts#579.
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯