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: \"string\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
87
+
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"Ready\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
88
88
},
89
89
{
90
90
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: \"string\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
115
+
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"Available\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
116
116
},
117
117
{
118
118
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: \"string\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
143
+
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"HealthCheckSucceeded\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
144
144
},
145
145
{
146
146
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: \"string\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
171
+
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"OwnerRemediated\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
172
172
},
173
173
{
174
174
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: \"string\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
199
+
"spec.checks.unhealthyMachineConditions[0].type: Invalid value: \"ExternallyRemediated\": type must not be one of: Ready, Available, HealthCheckSucceeded, OwnerRemediated, ExternallyRemediated",
200
200
},
201
201
{
202
202
name: "Return no error if UnhealthyMachineCondition type is allowed custom type",
0 commit comments