billowy-army-68599
06/03/2021, 7:04 PMancient-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
06/03/2021, 7:15 PMancient-megabyte-79588
06/03/2021, 7:16 PM