kube_runtime::wait::conditions

Function is_crd_established

Source
pub fn is_crd_established() -> impl Condition<CustomResourceDefinition>
Expand description

An await condition for CustomResourceDefinition that returns true once it has been accepted and established

Note that this condition only guarantees you that you can use Api<CustomResourceDefinition> when it is ready. It usually takes extra time for Discovery to notice the custom resource, and there is no condition for this.