sparse-intern-71089
01/06/2023, 9:32 AMdry-keyboard-94795
01/06/2023, 9:45 AM{ providers: [clusterProvider] }
Certmanager looks to be a Provider that wraps the kubernetes provider, which would explain why you can't pass in the kubernetes provider directlydelightful-zebra-75589
01/06/2023, 3:47 PM--set global.leaderElection.namespace=cert-manager cert-manager
Now I've tried this (in the documentation, it seems possible to set the "global" setting https://www.pulumi.com/registry/packages/kubernetes-cert-manager/api-docs/certmanager/#global_nodejs):
const certManager = new certmanager.CertManager('cert-manager', {
installCRDs: true,
global: {
leaderElection: {
namespace: namespace.metadata.name // GKE: <https://github.com/cert-manager/cert-manager/issues/3717>
}
},
helmOptions: {
namespace: namespace.metadata.name
},
},{
providers: [clusterProvider]
});
But getting the following error:
Error: failed to register new resource cert-manager [kubernetes-cert-managerindexCertManager]: 2 UNKNOWN: setting args: copying input "global": expected destination type to implement pulumi.Input or pulumi.Output, got string
Any idea?dry-keyboard-94795
01/06/2023, 4:04 PMdry-keyboard-94795
01/06/2023, 4:09 PMhelm.Release
or helm.Chart
directly instead, though you'll lose the type checking