billions-lock-80282
09/30/2019, 1:50 PMrhythmic-finland-36256
09/30/2019, 2:20 PMkubernetes provider
programmatically, you can just work with the output because a provider is also a CustomResource
and does the await for you. The same applies for stack outputs you export. Just export the Output<string> and you will get the string. If you need programmatic access to the string value, this cannot be done synchronously, therefore just use the apply
method like here: https://www.pulumi.com/docs/intro/concepts/programming-model/#applybillions-lock-80282
09/30/2019, 3:24 PMnice-cat-91582
09/30/2019, 3:48 PMbillions-lock-80282
09/30/2019, 3:48 PMnice-cat-91582
09/30/2019, 3:48 PMbillions-lock-80282
09/30/2019, 3:51 PMconst kubeconfig = new KubeConfig();
kubeconfig.loadFromString(JSON.stringify(kc));
nice-cat-91582
09/30/2019, 3:54 PMkc.apply((kcString) => {
kubeconfig.loadFromString(kcString)
})
billions-lock-80282
09/30/2019, 4:04 PMrhythmic-finland-36256
09/30/2019, 4:25 PMbillions-lock-80282
09/30/2019, 5:00 PMTypeError: unknown version: undefined