// Verify the generation observed by the statefulSet controller matches the spec generation
// Verify the generation observed by the statefulSet controller matches the spec generation
ifsts.Status.ObservedGeneration!=sts.Generation{
ifsts.Status.ObservedGeneration!=sts.Generation{
slog.Debug("StatefulSet is not ready, observedGeneration doest not match spec generation","namespace",sts.GetNamespace(),"name",sts.GetName(),"actualGeneration",sts.Status.ObservedGeneration,"expectedGeneration",sts.Generation)
slog.Debug("StatefulSet is not ready, observedGeneration does not match spec generation","namespace",sts.GetNamespace(),"name",sts.GetName(),"actualGeneration",sts.Status.ObservedGeneration,"expectedGeneration",sts.Generation)
// Verify the generation observed by the replicationController controller matches the spec generation
// Verify the generation observed by the replicationController controller matches the spec generation
ifrc.Status.ObservedGeneration!=rc.Generation{
ifrc.Status.ObservedGeneration!=rc.Generation{
slog.Debug("ReplicationController is not ready, observedGeneration doest not match spec generation","namespace",rc.GetNamespace(),"name",rc.GetName(),"actualGeneration",rc.Status.ObservedGeneration,"expectedGeneration",rc.Generation)
slog.Debug("ReplicationController is not ready, observedGeneration does not match spec generation","namespace",rc.GetNamespace(),"name",rc.GetName(),"actualGeneration",rc.Status.ObservedGeneration,"expectedGeneration",rc.Generation)
// Verify the generation observed by the replicaSet controller matches the spec generation
// Verify the generation observed by the replicaSet controller matches the spec generation
ifrs.Status.ObservedGeneration!=rs.Generation{
ifrs.Status.ObservedGeneration!=rs.Generation{
slog.Debug("ReplicaSet is not ready, observedGeneration doest not match spec generation","namespace",rs.GetNamespace(),"name",rs.GetName(),"actualGeneration",rs.Status.ObservedGeneration,"expectedGeneration",rs.Generation)
slog.Debug("ReplicaSet is not ready, observedGeneration does not match spec generation","namespace",rs.GetNamespace(),"name",rs.GetName(),"actualGeneration",rs.Status.ObservedGeneration,"expectedGeneration",rs.Generation)