How do I use Pulumi to set the AKS credentials wit...
# azure
e
How do I use Pulumi to set the AKS credentials with Kubectl after creating the AKS cluster so I can create the service account, etc?
b
hey! You need to export the
kubeConfig
from your cluster creation and then set a provider. Here's an example: https://github.com/pulumi/examples/blob/master/azure-ts-aks-helm/cluster.ts#L41-L43 You'll need to make sure you set that povider on your
tillerSA
service account similar to this https://github.com/pulumi/examples/blob/master/azure-ts-aks-helm/index.ts#L13
👍 1