This message was deleted.
# kubernetes
s
This message was deleted.
i
I had similar error with c# & aks, the problem I had was with the way I parse kubeconfig, it expects a json object and I was passing the config file as string, took me sometime to resolve it correctly though
🙌 1
t
Moved ahead.
I can now create the K8 Provider. I can see it on the Pulumi Stack web page, but I am now facing an
error: rpc error: code = Unknown desc = failed to parse kubeconfig: illegal base64 data at input byte 8
whilst trying to deploy an Helm Chart.
i
Yes, you would need to decode the kubeconfig, so the object shall be decoded, pesudo code would be Var encodedkubeconfig=creds.kubeconfig[0]. value Var decoded= Encoding.GetString(Convert.FromBase64(encodedkubeconfig))
❤️ 1