wet-noon-1429105/22/2020, 9:03 PM
and an actual manifest. Running the manifest with
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 -f
. 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-2940205/22/2020, 11:05 PM
wet-noon-1429105/23/2020, 8:37 PM
but it doesn't work when running through pulumi.
kubectl apply -f <file>
creamy-potato-2940205/24/2020, 6:48 PM
wet-noon-1429105/25/2020, 12:31 PM
creamy-potato-2940205/25/2020, 5:32 PM
wet-noon-1429105/26/2020, 6:57 AM
creamy-potato-2940205/26/2020, 6:05 PM
gentle-diamond-7014705/26/2020, 7:28 PM
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/.
wet-noon-1429105/26/2020, 7:29 PM
is really valuable.
creamy-potato-2940205/27/2020, 4:09 AM