Hello, I'm trying to use `pulumi_kubernetes.helm.v...
# kubernetes
d
Hello, I'm trying to use
pulumi_kubernetes.helm.v3
--
Chart()
specifically. How does one pass in a specific k8s provider?
Copy code
splunk_connect_for_kubernetes = Chart(
        "splunk-connect-for-kubernetes-chart",
        ChartOpts(
            chart="splunk-connect-for-kubernetes",
            version="1.4.4",
            namespace="splunk",
            fetch_opts=FetchOpts(
                repo="<https://splunk.github.io/splunk-connect-for-kubernetes/>",
            ),
        ),
    )
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