David Flanagan

Results 215 comments of David Flanagan

@yellowhat Can you share what `k8s_provider` is set to, please?

@yellowhat I don't believe this is doing what you think it's doing. The `gcloud container clusters get-credentials` command adds the cluster information to your global `${HOME}/kube/config` file, it doesn't print...

@yellowhat If you're happy to jump on a Zoom call, I'd be happy to help work out what is happening here. Currently, I'm a little confused 😃

@yellowhat https://pulumi.zoom.us/j/89821440907?pwd=V2oxWVdzQkRpVkFDcGt3OEFnclZ0dz09

OK. I tried to build a reproducer with `pulumi new kubernetes-python` and `helm create example` The new chart uses a version check to deploy the correct Ingress resource and works....

@yellowhat OK. It's a bug with the cloudbees-core chart. They have this code: ``` {{- if not (.Capabilities.APIVersions.Has "networking.k8s.io/v1/Ingress" ) }} {{ fail "\n\nERROR: Kubernetes 1.19 or later is required...

@yellowhat I'm still investigating why the capability checks have different resources, I'll get back to this issue as soon as I work this out.

@yellowhat OK. I've worked this out. HelmRelease via Pulumi uses "ClientMode" and doesn't fetch the registered resource list from the API Server, it only has registered API namespaces. I'll update...

OK, @yellowhat. I've done all the digging I can do 😃 So the problem is that during a `pulumi preview`, we don't expect there to be access to the cluster,...

@yellowhat I've opened #1908 Hopefully these responses help and you can make some progress with your stack. Have a great week!