-
Notifications
You must be signed in to change notification settings - Fork 114
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
Specifiy/Create a service account used by the created SolrCloud #264
Comments
Good feature request! But we should shoot for |
@thomaswoeckinger I'm working on the custom
This might be harder to fix. The reason we use fsGroup 8983 is because the Solr docker image uses the 8983 user to own I might be wrong here, but I believe that's why it was Are you able to get OKD to work with the 8983 |
If an SCC with runAsUser set to 8983 exists which is associated with the
used service account i can start the container.
So from my point of view if the operator simply adds the serviceAccountName:
<solr-service-account>
to the deployment descriptor it would be sufficient. An extension would be
if the required SCC and service account would be created by the operator
itself.
|
Good to know. So in the linked PR I added the ability to create the necessary ServiceAccount when deploying the |
Currently there is no way to specify a serviceAccount or serviceAccountName to be used by the created SolrCloud. This makes it impossible to run on OKD, because default security constraints deny the usage of fsGroup 8983.
So there should be at least a parameter to configure the serviceAccount.
The text was updated successfully, but these errors were encountered: