famous-television-87761
12/29/2023, 8:32 PMpulumi-kubernetes
. Specifically, we have a shared setup and different developers have different clusters and contexts defined in their .kube/config
(e.g. some devs run a local minicube cluster for testing).
I want to ensure that the stack is only applied to the cluster I want it applied to but I can't figure out how to do that. For example, I can explicitly construct a Provider
passing cluster=
to specify the cluster, but the cluster
field refers to the name of the cluster in ~/.kube/config
file and it's just a nickname; each developer could pick a different nickname for the same cluster.
How can I (1) provide enough flexability for each dev to specify which kubeconfig, etc. to use and (2) still ensure that I'm going to apply my changes only to the desired cluster?famous-television-87761
12/29/2023, 9:02 PMuser
part of the config?
Seems ugly but should work...