-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: Fix Apply ClusterIssuer manifest task failed by removing deprecated ClusterIssuer #8064
cert_manager: Fix Apply ClusterIssuer manifest task failed by removing deprecated ClusterIssuer #8064
Conversation
Hi @rtsp. 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. |
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.
/ok-to-test
Nice thanks, I think we need to update cert-manager anyway because the version we have is a bit old
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, rtsp 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 |
Agreed. I'm looking on how to automate conversion of 33k-lines cert-manager manifests 😂. |
@rtsp for now I have a more manual approach to this by just giving up on the split, I was working on a PR this morning but it's in a rough shape still. I'll wait for this PR to merge before submitting the update for 1.5.4. |
Also it's worthwhile mentioning that for the cert-manager to become actually useful a deployer would need to create a cluster issuer as a first thing after deployment, this means this PR needs an update in https://github.com/kubernetes-sigs/kubespray/blob/master/docs/cert_manager.md?plain=1#L14-L36 |
Look like this document also need a major revise. I think, for most topics, we can provide links from our docs to upstream cert-manager 0.15 docs to make sure users get completed and updated document. IMO, we should at least hightlight these topics as I got a lot of question from my users here. Ingress
ACME |
/lgtm |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Task
kubernetes-apps/ingress_controller/cert_manager : Cert Manager | Apply ClusterIssuer manifest
failed when deploying kubespray with cert-manager add-ons enabled for K8s v1.22.This failure caused by applying ClusterIssuer with a hard-coded TLS secret from these manifests.
I'm not sure about the purpose of these 2 files. It's included in 9cc70e9 from #6414 since cert-manager v0.15 and it seems to be deprecated now because it does not exist in later version of cert-manager anymore.
After removing these 2 manifests and its related tasks. Everying is working good again (at least on my cluster).
Which issue(s) this PR fixes:
Fixes #8059
Special notes for your reviewer:
I've tested this patch on my cluster (Debian 11, K8s v1.22, containerd, All add-ons enabled)
Does this PR introduce a user-facing change?: