-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
helm install stable/cert-manager does not work anymore? #1255
Comments
I've noticed this today. OpenStack installation. |
Please run:
before your cert-manager installation process.
Helm Chart -> cert-manager changed installation process. |
Thanks, this works, but, following this issue, I have troubles installing the cluster-issuer while it was working before. Should I open a new issue for that? Just in case, here is the error I get: helm upgrade --install cluster-issuer chartmuseum/certificate-issuer --kube-context my_cluster --namespace default I have tried and reading the doc, but, so far, I fail to find what I should do to make this work. Here is my cluster-issuer chart: certificate-issuer/templates/cluster-issuer.yaml: apiVersion: certmanager.k8s.io/v1alpha1 Thanks for your help. |
I have a same problem in my AKS. I workaround for this issue is downgrade to install v0.5.2.
|
Thanks, the workaround to a previous version works, but I am wondering if there is a more permanent solution to this issue. |
I have problems installing 0.6.0 too.
0.5.2 works fine. |
Same issue following the guide at: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nginx-ingress-with-cert-manager-on-digitalocean-kubernetes#step-4-%E2%80%94-installing-and-configuring-cert-manager Resolving the issue by adding the version mentioned by @Kusumoto helm install --name cert-manager --namespace kube-system --version v0.5.2 stable/cert-manager |
I have the same issue. Can we reopen this? |
I don't understand why it has been closed. Has it ever been resolved? Using an anterior version does not sound very reliable in the long term. |
If you are running into issues with CRDs, please read the upgrade notes here which should resolve your problems: https://cert-manager.readthedocs.io/en/latest/tasks/upgrading/upgrading-0.5-0.6.html#upgrading-from-older-versions-using-helm |
Following those instructions and specifying
Running a helm repo update does not actually resolve this error. Not specifying a version at allows the chart to install but causes the following error when trying to install a clusterissuer.
This seems to also be where @tmontalbano is getting stuck at. The only thing that seems to work is passing |
I've also done these steps on a newly installed eks cluster and I'm running into the same issue. |
Seeing errors with 0.6.x on a brand new GKE cluster (so no upgrade issues), after doing the external I've rolled back to v0.5.2 as well. |
This is how we've gotten 0.6.0 to work on EKS:
The important parts are that you need to set |
Hi, I think I found the related issue. It took me quite some time; but it seems to me, that kubernetes is unable to find the right endpoint for validation webhook. After I edited the resource and set the service:
name: <service-name>
namespace: <namespace of the service> cert-manager worked like expected. I also did a PR #1359. Hope this helps 🙂 Kind regards |
I had this same issue with Azure DevOps |
I have also had this issue with Azure AKS with v0.6.1
|
Same issue... |
I also solved it by disabling webhook, as in
|
There might be an issue with the contents of the stable charts repo. I could neither install version 0.6.2:
Nor version 0.6.1.:
The index file https://kubernetes-charts.storage.googleapis.com/index.yaml contains no entry for version 0.6.2. There is an entry for
|
@selobosi's solution works and is perhaps the most stable way to handle this issue. |
Just followed @selobosi 's approach and used version --version v0.6.6 on Azure - deployed successfully! |
Confirmed too - v0.6.6 works for me. |
OK so for some reason the GitHub release version v0.6.2 is actually v0.6.6 in Helm — basically we're off by 4 since v0.6.1? @munnerz can we realign things somehow to avoid the ongoing confusion? This issue should probably be reopened until this discrepancy is addressed. |
On the last comment by @tsuna , while trying different Also, if I specify |
On GKE (1.11.7-gke.6), this worked for me: Thanks to suggestion from @davi5e. |
In GCP, you have to add the port 6443 to the master's Firewall Rules in order for the webhook to work. See more info here. |
I know this comment won't be particularly helpful, but this is incredibly frustrating. |
I was super frustrated by this bug as well, until I realised the documentation has the answer. https://docs.cert-manager.io/en/latest/getting-started/install.html#installing-with-helm The section you want to follow is the green box under |
v0.7.0 isn't present in the index either so can't upgrade to it now...
|
I ran into this issue with AKS. I deleted everything and followed the instructions on their website to get it working. Install the CustomResourceDefinition resources separatelykubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.7/deploy/manifests/00-crds.yaml Create the namespace for cert-managerkubectl create namespace cert-manager Label the cert-manager namespace to disable resource validationkubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true Add the Jetstack Helm repositoryhelm repo add jetstack https://charts.jetstack.io Update your local Helm chart repository cachehelm repo update Install the cert-manager Helm charthelm install |
I had the same issue, and fixed it by running the helm with the --version v0.5.2 with either Kind as ClusterIssuer or Issuer. |
I have finally managed to install cert-manager v0.7.0 even though it didn't work via Here are the steps:
|
I still see this on virtually every install. Seems like some kind of race condition...
|
Why there should be CRDs installed before helm chart? Isnt helm chart supposed to be complete solution for every deployment possible? I can't get this :) |
For the strangers with a problem like this:
Ensure you have applied CRD's
Then, grab a cup of tea and wait for 10-15min, then try to install it again, for example:
I didn't dig it yet, but feels like CRDs are not available right after the kube apply command, it needs some time before making it available on the cluster. And yeah, whole cert-manager thing is like a clusterfuck. It is not recommended yet as it is not 1.0 yet, but other solutions like kube-lego are not maintained anymore, referencing to this, not stable software, which is so wrong by any means... |
@DanielMorsing you have to wait for the apiservice for the CRD to come up. Looking up their docs it should be the following command (requires latest kubectl, because
@george-oakling looking at https://docs.cert-manager.io/en/latest/getting-started/install/kubernetes.html#installing-with-regular-manifests
That's why the CRD has to be deployed first. |
If you come across this, @selebos's post has been deleted. But here is a solution from cert-manager https://cert-manager.io/docs/installation/compatibility/. TLDR: Use The explanation for why you should do this is in the link above.
|
Before I could install cert-manager via helm and since a helm repo update, it does not seem to work anymore:
Here is before:
helm upgrade --install cert-manager stable/cert-manager --set ingressShim.defaultIssuerName=letsencrypt-prod --set ingressShim.defaultIssuerKind=ClusterIssuer --kube-context --namespace default
Release "cert-manager" does not exist. Installing it now.
NAME: cert-manager
LAST DEPLOYED: Wed Jan 23 22:26:43 2019
NAMESPACE: default
STATUS: DEPLOYED
And now:
helm install stable/cert-manager --set ingressShim.defaultIssuerName=letsencrypt-prod --set ingressShim.defaultIssuerKind=ClusterIssuer --kube-context scheduled-button-cluster-admin --namespace default
Error: validation failed: [unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Certificate" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1", unable to recognize "": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1"]
Describe the bug:
Here is my current helm version:
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Expected behaviour:
cert-manager helm install should work
Steps to reproduce the bug:
Have helm last repo updates and run the following command:
helm install stable/cert-manager
Anything else we need to know?:
We create our clusters in Azure via aks.
/kind bug
The text was updated successfully, but these errors were encountered: