@@ -804,10 +804,7 @@ func TestUpdateStaticPodConditions(t *testing.T) {
804
804
Status : metav1 .ConditionUnknown ,
805
805
Reason : controlplanev1 .KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason ,
806
806
Message : "* Machine m1:\n " +
807
- " * APIServerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
808
- " * ControllerManagerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
809
- " * SchedulerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
810
- " * EtcdPodHealthy: Waiting for GenericInfraMachine to report spec.providerID" ,
807
+ " * Control plane components: Waiting for GenericInfraMachine to report spec.providerID" ,
811
808
},
812
809
expectedMachineV1Beta2Conditions : map [string ][]metav1.Condition {
813
810
"m1" : {
@@ -837,10 +834,7 @@ func TestUpdateStaticPodConditions(t *testing.T) {
837
834
Status : metav1 .ConditionUnknown ,
838
835
Reason : controlplanev1 .KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason ,
839
836
Message : "* Machine m1:\n " +
840
- " * APIServerPodHealthy: Waiting for a Node with spec.providerID dummy-provider-id to exist\n " +
841
- " * ControllerManagerPodHealthy: Waiting for a Node with spec.providerID dummy-provider-id to exist\n " +
842
- " * SchedulerPodHealthy: Waiting for a Node with spec.providerID dummy-provider-id to exist\n " +
843
- " * EtcdPodHealthy: Waiting for a Node with spec.providerID dummy-provider-id to exist" ,
837
+ " * Control plane components: Waiting for a Node with spec.providerID dummy-provider-id to exist" ,
844
838
},
845
839
expectedMachineV1Beta2Conditions : map [string ][]metav1.Condition {
846
840
"m1" : {
@@ -891,10 +885,7 @@ func TestUpdateStaticPodConditions(t *testing.T) {
891
885
Status : metav1 .ConditionUnknown ,
892
886
Reason : controlplanev1 .KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason ,
893
887
Message : "* Machine m1:\n " +
894
- " * APIServerPodHealthy: Node n1 is unreachable\n " +
895
- " * ControllerManagerPodHealthy: Node n1 is unreachable\n " +
896
- " * SchedulerPodHealthy: Node n1 is unreachable\n " +
897
- " * EtcdPodHealthy: Node n1 is unreachable" ,
888
+ " * Control plane components: Node n1 is unreachable" ,
898
889
},
899
890
expectedMachineV1Beta2Conditions : map [string ][]metav1.Condition {
900
891
"m1" : {
@@ -922,10 +913,7 @@ func TestUpdateStaticPodConditions(t *testing.T) {
922
913
Status : metav1 .ConditionUnknown ,
923
914
Reason : controlplanev1 .KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason ,
924
915
Message : "* Machine m1:\n " +
925
- " * APIServerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
926
- " * ControllerManagerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
927
- " * SchedulerPodHealthy: Waiting for GenericInfraMachine to report spec.providerID\n " +
928
- " * EtcdPodHealthy: Waiting for GenericInfraMachine to report spec.providerID" ,
916
+ " * Control plane components: Waiting for GenericInfraMachine to report spec.providerID" ,
929
917
},
930
918
expectedMachineV1Beta2Conditions : map [string ][]metav1.Condition {
931
919
"m1" : {
@@ -958,10 +946,7 @@ func TestUpdateStaticPodConditions(t *testing.T) {
958
946
Status : metav1 .ConditionUnknown ,
959
947
Reason : controlplanev1 .KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason ,
960
948
Message : "* Machine m1:\n " +
961
- " * APIServerPodHealthy: Node n1 does not exist\n " +
962
- " * ControllerManagerPodHealthy: Node n1 does not exist\n " +
963
- " * SchedulerPodHealthy: Node n1 does not exist\n " +
964
- " * EtcdPodHealthy: Node n1 does not exist" ,
949
+ " * Control plane components: Node n1 does not exist" ,
965
950
},
966
951
expectedMachineV1Beta2Conditions : map [string ][]metav1.Condition {
967
952
"m1" : {
0 commit comments