sparse-intern-71089
06/03/2021, 6:41 PMbillowy-army-68599
ancient-megabyte-79588
06/03/2021, 7:13 PMconst k8sCluster = new azure.containerservice.KubernetesCluster( baseClusterName, {
<snipped>
}, { dependsOn: [adSpPassword] }
);
export const kubeConfig = pulumi.secret(k8sCluster.kubeConfigRaw);
const k8sProvider = new k8s.Provider("aksK8s", { kubeconfig: k8sCluster.kubeConfigRaw });
is in a pulumi app that provisions the cluster.
Other apps get the exported kubeConfig and create the provider the same way as the last line in this snippetbillowy-army-68599
billowy-army-68599
billowy-army-68599
ancient-megabyte-79588
06/03/2021, 7:16 PMancient-megabyte-79588
06/03/2021, 7:16 PM