Skip to content
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

Allow running on unprivileged clusters #116

Closed
zegelin opened this issue Nov 7, 2018 · 3 comments
Closed

Allow running on unprivileged clusters #116

zegelin opened this issue Nov 7, 2018 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@zegelin
Copy link
Contributor

zegelin commented Nov 7, 2018

Trying to run the operator/cassandra on an unprivileged cluster results in an error.

create Pod cassandra-test-cluster-cassandra-0 in StatefulSet cassandra-test-cluster-cassandra failed error: Pod "cassandra-test-cluster-cassandra-0" is invalid: spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by cluster policy

Maybe we can make the init container optional?

@zegelin zegelin added bug Something isn't working enhancement New feature or request labels Nov 7, 2018
@benbromhead
Copy link
Collaborator

We need to run a privileged container to configure certain OS options that will allow Cassandra to run in a reliable manner.

We can certainly make it optional, but it will make Cassandra more likely to break.

@alourie
Copy link
Contributor

alourie commented Jul 27, 2019

@zegelin following from #208, will work on this soon. Will restore the privelegedSupported functionality and whatever else will be needed here.

@alourie
Copy link
Contributor

alourie commented Aug 22, 2019

privilegedSuppored functionality is restored by #218

@alourie alourie closed this as completed Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants