@@ -59,17 +59,14 @@ is_priv_namespace(ns) = true {
59
59
exempted_user = {
60
60
" system:kube-controller-manager" ,
61
61
" system:kube-scheduler" ,
62
- " system:admin" # comment out temporarily for testing in console
62
+ " system:admin"
63
63
}
64
64
65
65
exempted_groups = {
66
66
# "system:cluster-admins", # dont allow kube:admin
67
- " system:nodes" , # eg, "username": "system:node:jeff-test-cluster-pcnp4-master-2"
68
- " system:serviceaccounts" , # to allow all system service account?
69
- # "system:serviceaccounts:openshift-monitoring", # monitoring operator
70
- # "system:serviceaccounts:openshift-network-operator", # network operator
71
- # "system:serviceaccounts:openshift-machine-config-operator", # machine-config-operator, however the request provide correct sa name
72
- " system:masters" # system:admin
67
+ " system:nodes" ,
68
+ " system:serviceaccounts" , # allow all system service accounts
69
+ " system:masters"
73
70
}
74
71
privileged_ns = {
75
72
# Kubernetes specific namespaces
@@ -116,7 +113,8 @@ privileged_ns = {
116
113
" openshift-multus" ,
117
114
" openshift-network-operator" ,
118
115
" openshift-oauth-apiserver" ,
116
+ " openshift-ovn-kubernetes" ,
117
+ " openshift-sdn" ,
119
118
" openshift-service-ca" ,
120
- " openshift-service-ca-operator" ,
121
- " openshift-sdn"
119
+ " openshift-service-ca-operator"
122
120
}
0 commit comments