Open maelp opened 1 year ago
On the other hand, installing directly from Helm seems to work
cert_manager_chart = Chart(
"cert-manager",
config=ChartOpts(
fetch_opts={"repo": "https://charts.jetstack.io"},
chart="cert-manager",
version="v1.11.0",
namespace=cert_manager_ns_name,
values={"installCRDs": True},
),
opts=pulumi.ResourceOptions(provider=k8s_provider, depends_on=[cert_manager_ns]),
)
But then, when I add a TLS to my Ingress and deploy with the helm chart, I get this:
kubernetes:batch/v1:Job (cert-manager/cert-manager-startupapicheck):
warning: This resource contains Helm hooks that are not currently supported by Pulumi. The resource will be created, but any hooks will not be executed. Hooks support is tracked at https://github.com/pulumi/pulumi-kubernetes/issues/555 -- This warning can be disabled by setting the PULUMI_K8S_SUPPRESS_HELM_HOOK_WARNINGS environment variable
error: 2 errors occurred:
* the Kubernetes API server reported that "cert-manager/cert-manager-startupapicheck" failed to fully initialize or become live: Resource 'cert-manager-startupapicheck' was created but failed to initialize
* [BackoffLimitExceeded] Job has reached the specified backoff limit
This might be because I'm deploying to GKE AutoPilot?
It seems reasonable that the issue is related to AutoPilot, and I updated the title to that effect. Here's a ticket in cert-manager side with some general tips on deploying to AutoPilot: https://github.com/cert-manager/cert-manager/issues/3717
I would suggest that we re-test on a GKE AutoPilot cluster using the above instructions, and then incorporate the learnings into our documentation.
What happened?
I'm adding a CertManager controller to my Kubernetes configuration, but when trying to deploy it I receive this error:
Expected Behavior
I expect the controller to be properly installed
Steps to reproduce
This is the configuration I'm using
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).