elegant-island-39916
10/02/2020, 10:28 AMk8s.core.v1.Namespace
targets the incorrect k8s cluster (from ~/.kube/config
) even if opts.providers.kubernetes
is specified e.g.:
ci_namespace = k8s.core.v1.Namespace(
"ci-svcs",
opts=ResourceOptions(providers={"kubernetes": eks_cluster.provider}),
)
Yet pulumi_kubernetes.ConfigFile
does not have this issue and targets the correct cluster. Is there a parameter I am missing on k8s.core.v1.Namespace
to ensure it targets the providers cluster, rather than my globally configured ~/.kube/config
?