File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 36
36
},
37
37
}
38
38
allowedUsers = []string {
39
+ "system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator" ,
39
40
"system:serviceaccount:openshift-monitoring:cluster-monitoring-operator" ,
40
41
"system:serviceaccount:openshift-cluster-version:default" ,
41
42
"system:admin" ,
Original file line number Diff line number Diff line change @@ -169,6 +169,14 @@ func TestUser(t *testing.T) {
169
169
userGroups : []string {"system:authenticated" , "system:serviceaccounts:osde2e-abcde" },
170
170
shouldBeAllowed : false ,
171
171
},
172
+ {
173
+ targetSCC : "anyuid" ,
174
+ testID : "kube-apiserver-operator-allowed" ,
175
+ username : "system:serviceaccount:openshift-kube-apiserver-operator:kube-apiserver-operator" ,
176
+ operation : admissionv1 .Update ,
177
+ userGroups : []string {},
178
+ shouldBeAllowed : true ,
179
+ },
172
180
}
173
181
runSCCTests (t , tests )
174
182
}
You can’t perform that action at this time.
0 commit comments