Skip to content

Make securityContext configurable for weaviate container #207

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

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

alembiewski
Copy link
Contributor

@alembiewski alembiewski commented Feb 13, 2024

Currently, it is only possible to set PodSecurityContext for Weaviate StatefulSet, but it's not possible to set security context for the main weaviate container, which is backed by SecurityContext object and contains additional configuration parameters extending the PodSecurityContext, allowing fine-granular overwrites on the container level.
This PR:

  • introduces a new value containerSecurityContext in values.yaml
  • propagates the value to the securityContext of the weaviate container
  • adds a test to verify new field
  • bumps chart version to 16.8.2

@alembiewski alembiewski requested a review from a team as a code owner February 13, 2024 14:30
@weaviate-git-bot
Copy link

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@alembiewski
Copy link
Contributor Author

I agree with the CLA

@antas-marcin antas-marcin merged commit 377e5b9 into weaviate:master Feb 22, 2024
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.

3 participants