busy-umbrella-36067
06/24/2019, 6:04 PM@pulumi/eks/Cluster
?
This is what I've got so far, the modifications (AWS_PROFILE
env var) never make it to the provider resource thats created
const modifiedKubeconfig = this.cluster.kubeconfig.apply(kubeconfig => {
kubeconfig.users[0].user.exec.env = [{"AWS_PROFILE": "staging"}]
return kubeconfig
})
this.provider = new kube.Provider("test", { kubeconfig: modifiedKubeconfig.apply(JSON.stringify) }, { parent: this })
white-balloon-205