This message was deleted.
# kubernetes
s
This message was deleted.
Err, okay, I think I figured it out. I was seeing examples of using opt to set an explicit provider in other documentation. However, looking at source code seems it imply opts is an old, deprecated thing and to just use opts to pass it.
g
I believe with
opts=ResourceOptions(providers={"kubernetes"=k8s_provider})
(might not be exactly that, I'm not able to confirm it right this second)
d
Yup! I got caught up in (bad?) examples sending me on the wrong path. https://github.com/pulumi/examples/blob/master/gcp-py-gke/__main__.py#L85
I think those examples should probably be updated to use
opts
rather than
__opts__
g