Status conditions such as ClusterReady as status attributes? #998
-
I'm looking to create the CRD via Terraform and use a wait_for = {
fields = {
"status.phase" = "Running"
"status.containerStatuses[0].ready" = "true",
}
} I don't think it is possible to write a condition to search an array like was done for printing the values. So is an enhancement needed to be able to specifically look for a "status" such as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Not a great solution, but you could assume that cluster-operator/api/v1beta1/rabbitmqcluster_status.go Lines 84 to 89 in b46b298 We have no plans to change the status conditions in the future. |
Beta Was this translation helpful? Give feedback.
Not a great solution, but you could assume that
status.conditions[0]
is alwaysAllReplicasReady
type, which is always true given how we set conditions:cluster-operator/api/v1beta1/rabbitmqcluster_status.go
Lines 84 to 89 in b46b298
We have no plans to change the status conditions in the future.