early-musician-41645
05/21/2019, 9:37 PMeks.Cluster
provider using a StackReference
? I'd like to create a new namespace in a cluster, but the namespace creation is in a separate stack from the one where the cluster is defined/createdconst clusterStack = new pulumi.StackReference(clusterStackName);
const k8sProvider = new k8s.Provider("k8s", { kubeconfig: clusterStack.getOutput("kubeconfig").apply(JSON.stringify) });