wet-noon-14291
05/22/2020, 9:03 PMConfigFile
and an actual manifest. Running the manifest with kubectl apply -f
works, but it fails through pulumi. The error message is:
error: resource default was not successfully created by the Kubernetes API server : namespaces "default" already exists
So I guess pulumi does something else than kubectl apply
. Is there a way to run a manifest that updates a namespace?
The part in the code I have now looks like this (F#)
ConfigFile("proxy_inject",
ConfigFileArgs(
File = input "manifests/proxy_inject.yaml"
)) |> ignore
creamy-potato-29402
05/22/2020, 11:05 PMwet-noon-14291
05/23/2020, 8:37 PMkubectl apply -f <file>
but it doesn't work when running through pulumi.creamy-potato-29402
05/24/2020, 6:48 PMwet-noon-14291
05/25/2020, 12:31 PMcreamy-potato-29402
05/25/2020, 5:32 PMwet-noon-14291
05/26/2020, 6:57 AMcreamy-potato-29402
05/26/2020, 6:05 PMgentle-diamond-70147
05/26/2020, 7:28 PMimport
pre-existing resources, such that you can manage them in your Pulumi app.
There is a guide on this at https://www.pulumi.com/docs/guides/adopting/import/.pulumi destroy
.wet-noon-14291
05/26/2020, 7:29 PMimport
is really valuable.creamy-potato-29402
05/27/2020, 4:09 AM