Skip to content

Commit

Permalink
Update required GV for ValidatingAdmissionPolicy gate.
Browse files Browse the repository at this point in the history
In 1.29, ValidatingAdmissionPolicy requires admissionregistration.k8s.io/v1beta1, not
admissionregistration.k8s.io/v1alpha1.
  • Loading branch information
benluddy committed Sep 27, 2023
1 parent a66fe80 commit d98f847
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

var DefaultGroupVersionsByFeatureGate = map[configv1.FeatureGateName][]schema.GroupVersion{
"ValidatingAdmissionPolicy": {{Group: "admissionregistration.k8s.io", Version: "v1alpha1"}},
"ValidatingAdmissionPolicy": {{Group: "admissionregistration.k8s.io", Version: "v1beta1"}},
"DynamicResourceAllocation": {{Group: "resource.k8s.io", Version: "v1alpha2"}},
}

Expand Down

0 comments on commit d98f847

Please sign in to comment.