This message was deleted.
# python
s
This message was deleted.
w
I suspect this is related to https://github.com/pulumi/pulumi-kubernetes/issues/217#issuecomment-504160101. Can you see if any suggestions there work - and if not leave a note about your scenario?
👍 1
a
Holy crap, I got it working! Thanks @white-balloon-205! For the other non-programmers who can only work with examples, here's what sent the remaining resources to correct namespace:
Copy code
from pulumi import ResourceOptions
from pulumi_kubernetes.provider import Provider
from pulumi_kubernetes.core.v1 import Namespace
from pulumi_kubernetes.helm.v2 import Chart, ChartOpts

k8sprovider = Provider("rook-ceph", namespace="rook-ceph")
ns = Namespace("rook-ceph", metadata={"name": "rook-ceph"})

Chart("rook-ceph", ChartOpts(
    "rook-release/rook-ceph",
    version="v1.1.7",
    values={"hostpathRequiresPrivileged": True},
    namespace=ns.metadata["name"]),
    ResourceOptions(providers={"provider": k8sprovider}))
👍 2