File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
pkg/webhooks/prometheusrule Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,7 @@ func (s *prometheusruleWebhook) authorized(request admissionctl.Request) admissi
84
84
if hookconfig .IsPrivilegedNamespace (pr .GetNamespace ()) &&
85
85
// TODO: [OSD-13680] Remove this exception for openshift-customer-monitoring
86
86
pr .GetNamespace () != "openshift-customer-monitoring" &&
87
- pr .GetNamespace () != "openshift-user-workload-monitoring" &&
88
- // TODO: [OSD-13909] Remove this exception for openshift-monitoring
89
- pr .GetNamespace () != "openshift-monitoring" {
87
+ pr .GetNamespace () != "openshift-user-workload-monitoring" {
90
88
log .Info (fmt .Sprintf ("%s operation detected on managed namespace: %s" , request .Operation , pr .GetNamespace ()))
91
89
if isAllowedUser (request ) {
92
90
ret = admissionctl .Allowed (fmt .Sprintf ("User can do operations on PrometheusRules" ))
You can’t perform that action at this time.
0 commit comments