pulumi / pulumi-kubernetes

A Pulumi resource provider for Kubernetes to manage API resources and workloads in running clusters
https://www.pulumi.com/docs/reference/clouds/kubernetes/
Apache License 2.0
396 stars 113 forks source link

Add a default status awaiter #2996

Open blampe opened 1 month ago

blampe commented 1 month ago

For cases where we don't have custom await logic, we should be able to use a default waiter with some reasonable heuristics around status conditions if the resource provides them.

If the resource doesn't have status conditions, we should be able to gracefully degrade to essentially skipAwait behavior, although eventually we will want to support https://github.com/pulumi/pulumi-kubernetes/issues/1260.

Internal doc.

Related to https://github.com/pulumi/pulumi-kubernetes/issues/1260.