Skip to content

Manage (Pod and Container) security Context explicitly#518

Merged
shubham-cmyk merged 1 commit intoOT-CONTAINER-KIT:masterfrom
shubham-cmyk:securityContexty
Jun 10, 2023
Merged

Manage (Pod and Container) security Context explicitly#518
shubham-cmyk merged 1 commit intoOT-CONTAINER-KIT:masterfrom
shubham-cmyk:securityContexty

Conversation

@shubham-cmyk
Copy link
Copy Markdown
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