https://pulumi.com logo
#python
Title
# python
l

little-river-49422

02/10/2019, 7:15 AM
i think you need to do something like this:
Copy code
async def get_aks_credentials():
    result = await get_kubernetes_cluster(name=gen_name('aks'),
                                          resource_group_name=gen_name('rg')
                                          )
    return result.kube_config_raw

k8s = Provider("app_provider", kubeconfig=get_aks_credentials())
at least this is working for me