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
klog.Infof("Admission plugin %q configured to expect the OpenShift oauth-apiserver as not being available. This is effectively the same as disabling the plugin, so it will be disabled.", RestrictSubjectBindingsPluginName)
42
+
returnnil, nil
43
+
}
44
+
45
+
returnNewRestrictUsersAdmission()
39
46
})
40
47
}
41
48
@@ -84,7 +91,6 @@ type restrictUsersAdmission struct {
84
91
userClient userclient.Interface
85
92
kubeClient kubernetes.Interface
86
93
groupCacheGroupCache
87
-
oauthState v1alpha1.OpenShiftOAuthState
88
94
}
89
95
90
96
var (
@@ -96,15 +102,9 @@ var (
96
102
97
103
// NewRestrictUsersAdmission configures an admission plugin that enforces
98
104
// restrictions on adding role bindings in a project.
klog.V(2).Info("admission plugin authorization.openshift.io/RestrictSubjectBindings is configured to act as if the OpenShift oauth-apiserver is not present. This admission plugin relies on the OpenShift oauth-apiserver to function as expected and should be disabled when it is not present. Acting as if disabled and not enforcing subject bindings.")
0 commit comments