-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
security: Operator and Toolbox SCC for default service account on OpenShift #13936
Conversation
d96f5ae
to
d594510
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -22,6 +22,7 @@ spec: | |||
app: rook-ceph-tools-operator-image | |||
spec: | |||
dnsPolicy: ClusterFirstWithHostNet | |||
serviceAccountName: rook-ceph-default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that mean toolbox deployment should also use the default service account created by rook, instead of k8s default service account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, toolbox needs to use the service account, it's updated below as well.
we may need to backport it to 1.13 since required for download also |
What's required for 1.13? The new default service account is only expected in 1.14 |
d594510
to
3a93a72
Compare
@travisn I think Subham means for the downstream, but we have a separate pr for it red-hat-storage/ocs-operator#2511 |
The default service account access is needed for the operator and the toolbox to run on openshift. This is a follow-up from PR 13362 that created a new default service account to use with all ceph or rook components that were relying on the default service account. Signed-off-by: Travis Nielsen <[email protected]>
3a93a72
to
3e54055
Compare
The default service account access is needed for the operator and the toolbox to run on openshift. This is a follow-up from #13362 that created a new default service account to use with all ceph or rook components that were relying on the default service account.
Checklist: