File tree 1 file changed +8
-1
lines changed
openshift-kube-apiserver/admission/authorization/apis/restrictusers/v1alpha1
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ import (
5
5
"k8s.io/apimachinery/pkg/runtime/schema"
6
6
)
7
7
8
- var GroupVersion = schema.GroupVersion {Group : "authorization.openshift.io" , Version : "v1alpha1" }
8
+ var (
9
+ GroupVersion = schema.GroupVersion {Group : "authorization.openshift.io" , Version : "v1alpha1" }
10
+ internalGroupVersion = schema.GroupVersion {Group : "authorization.openshift.io" , Version : runtime .APIVersionInternal }
11
+ )
9
12
10
13
var (
11
14
localSchemeBuilder = runtime .NewSchemeBuilder (
@@ -18,5 +21,9 @@ func addKnownTypes(scheme *runtime.Scheme) error {
18
21
scheme .AddKnownTypes (GroupVersion ,
19
22
& RestrictSubjectBindingsAdmissionConfig {},
20
23
)
24
+
25
+ scheme .AddKnownTypes (internalGroupVersion ,
26
+ & RestrictSubjectBindingsAdmissionConfig {},
27
+ )
21
28
return nil
22
29
}
You can’t perform that action at this time.
0 commit comments