https://pulumi.com logo
#general
Title
# general
m

mammoth-gold-93338

03/22/2024, 7:13 AM
Hey guys. Could you help me to remove these "dependsOn" from my pulumi config? I feel like I'm doing something wrong
i

icy-controller-6092

03/22/2024, 9:21 AM
hey Luna, after you create a new k8s cluster I think you need to create a new Provider (with the kubeconfig that should be an Output of the cluster resource) then once you have the provider, you pass it into the resources that you are creating on the cluster such as the namespace. This creates the implicit chain of dependencies between cluster <> provider <> namespace so they will be deployed in the correct order and you don't need to use the
dependsOn
flag