orange-byte-86458
06/25/2021, 9:57 PM@pulumi/kubernetes
that behaves more like kubectl apply -f
? I found ConfigFile/ConfigGroup
, but it doesn’t play well with existing objects in the cluster. While it may be doing things the right pulumi-way, I can’t quite marry it with our existing infra (e.g. import
doesn’t work). We’re currently using kubectl apply
to rollout app updates and rely on its forgiving behavior with regard to existing objects. I was wondering if it’s possible to achieve something similar with Pulumi. In Terraform we used a third-party provider which gave us the kubectl_manifest
resource. It would simply store the last applied configuration as the state and re-trigger kubectl apply whenever manifest (supplied yaml) changes.billowy-army-68599
orange-byte-86458
06/28/2021, 9:01 PMkubectl apply
this yaml to each cluster, but I thought it would be better to do it via Pulumi. We already use Pulumi to provision those clusters, and it already knows all the credentials, runs on the CI, etc.many-helicopter-89037
07/01/2021, 6:19 PM