File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ func NewOptions(rootDir string) *Options {
131131 // turn on the watch cache
132132 o .GenericControlPlane .Etcd .EnableWatchCache = true
133133
134+ // TODO(gman0): remove this admissionregistration.k8s.io/v1alpha1 override once
135+ // we reach Kubernetes v1.33. VAP will be removed from that API version then:
136+ // https://github.com/kubernetes/kubernetes/pull/129207
137+ // ValidatingAdmissionPolicy is GA, in admissionregistration.k8s.io/v1.
138+ //
134139 // Turn on admissionregistration for validating admission policy
135140 if err := o .GenericControlPlane .APIEnablement .RuntimeConfig .Set ("admissionregistration.k8s.io/v1alpha1=true" ); err != nil {
136141 panic (fmt .Errorf ("error setting APIEnablement: %w" , err ))
You can’t perform that action at this time.
0 commit comments