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

added SecurityContext to mongo statefulset to with a know uid #307

Closed
wants to merge 1 commit into from

Conversation

dannyzaken
Copy link
Contributor

@dannyzaken dannyzaken commented May 20, 2020

  • added SecurityContext to mongo statefulset to with a know uid
    • solves permissions error in Mongo when SCC is changed in openshift to anyuid
  • changed /mongo_data mountPath to /data in init container
    • to be consistent with DB container

Fixing BZ #1835125

Also changed /mongo_data mountPath to /data
@dannyzaken dannyzaken requested a review from guymguym May 20, 2020 09:18
@dannyzaken dannyzaken closed this May 20, 2020
@dannyzaken dannyzaken deleted the danny-fixes branch May 20, 2020 13:30
@dannyzaken
Copy link
Contributor Author

closed. this fix doesn't work without setting SCC that matches the SecurityContext request. requires a more complete fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant