https://pulumi.com logo
#python
Title
# python
a

alert-monitor-28534

11/22/2019, 8:04 AM
I'm trying to install "rook-ceph" Helm chart but I think it needs namespace "rook-ceph" and Pulumi creates "rook-ceph-q05648bl" or something like that - how to make it create the namespace without additional ID string?
Copy code
from pulumi_kubernetes.core.v1 import Namespace
from pulumi_kubernetes.helm.v2 import Chart, ChartOpts

ns = Namespace("rook-ceph")

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