You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wantErr: "MachineHealthCheck.cluster.x-k8s.io \"mhc\" is invalid: "+
87
-
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"Ready\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
86
+
wantErr: "type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
88
87
},
89
88
{
90
89
name: "Return error if UnhealthyMachineCondition type is 'Available'",
wantErr: "MachineHealthCheck.cluster.x-k8s.io \"mhc\" is invalid: "+
115
-
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"Available\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
113
+
wantErr: "type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
116
114
},
117
115
{
118
116
name: "Return error if UnhealthyMachineCondition type is 'HealthCheckSucceeded'",
wantErr: "MachineHealthCheck.cluster.x-k8s.io \"mhc\" is invalid: "+
143
-
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"HealthCheckSucceeded\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
140
+
wantErr: "type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
144
141
},
145
142
{
146
143
name: "Return error if UnhealthyMachineCondition type is 'OwnerRemediated'",
wantErr: "MachineHealthCheck.cluster.x-k8s.io \"mhc\" is invalid: "+
171
-
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"OwnerRemediated\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
167
+
wantErr: "type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
172
168
},
173
169
{
174
170
name: "Return error if UnhealthyMachineCondition type is 'ExternallyRemediated'",
wantErr: "MachineHealthCheck.cluster.x-k8s.io \"mhc\" is invalid: "+
199
-
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"ExternallyRemediated\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
194
+
wantErr: "type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
200
195
},
201
196
{
202
197
name: "Return no error if UnhealthyMachineCondition type is allowed custom type",
0 commit comments