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

Manage (Pod and Container) security Context explicitly #518

Merged
merged 1 commit into from
Jun 10, 2023

Conversation

shubham-cmyk
Copy link
Member

@shubham-cmyk shubham-cmyk commented Jun 10, 2023

Description

Redis pods' SecurityContext at the container level.
Now the SecurityContext could be added at the Container level and the Pod level.

Pod security context should be set using: podSecurityContext
Container security context should be set using: securityContext.

In Redis Cluster Setup Leader and Follower could have different container securityContext

Fixes #516

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • Testing has been performed
  • No functionality is broken
  • Documentation updated

Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
@shubham-cmyk shubham-cmyk merged commit 2142b25 into OT-CONTAINER-KIT:master Jun 10, 2023
@shubham-cmyk shubham-cmyk deleted the securityContexty branch June 11, 2023 10:21
@shubham-cmyk shubham-cmyk changed the title Manage (Pod and Container) security Context Manage (Pod and Container) security Context explicitly Jul 3, 2023
jiuker pushed a commit to jiuker/redis-operator-1 that referenced this pull request Jul 20, 2023
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
Signed-off-by: guozhi.li <guozhi.li@daocloud.io>
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.

[Feature] : Cannot configure SecurityContext at container level
1 participant