We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a62baf7 + 9c5bee0 commit a4d0812Copy full SHA for a4d0812
cmd/kepval/main_test.go
@@ -90,10 +90,7 @@ func TestValidation(t *testing.T) {
90
t.Errorf("%v has an error: %v", filename, kep.Error)
91
}
92
93
- // temporarily disable PRR enforcement per https://github.com/kubernetes/enhancements/issues/2239
94
- // so setting this to something always false
95
- requiredPRRApproval := len(kep.Number) < 0
96
- //requiredPRRApproval := len(kep.Number) > 0 && kep.LatestMilestone >= "v1.21"
+ requiredPRRApproval := len(kep.Number) > 0 && kep.LatestMilestone >= "v1.21" && kep.Status == "implementable"
97
if !requiredPRRApproval {
98
return
99
0 commit comments