+Component Should Be Ready
+ [Documentation] Given a Kubernetes controller object as returned from the KubernetesEntity
+ ... library routines (such as 'Deployment' or Statefulset'), check whether the
+ ... entity is ready
+ [Arguments] ${entity}
+ Should Be Equal ${entity.status.replicas} ${entity.status.ready_replicas}
+ # This doesn't seem to make sense for statefulsets
+ ${status} = Run Keyword If '${entity.kind}' == 'Deployment'
+ ... Most Recent Availability Condition @{entity.status.conditions}
+ ... ELSE
+ ... Set Variable True
+ Should Be Equal As Strings ${status} True ignore_case=True
+ [Return] ${status}
+