Skip to content

[cherry-pick][CDAP-21258] Add FSGroupChangePolicy support to SecurityContext#166

Open
sidhdirenge wants to merge 1 commit into
release/3.1from
cherrypick-3.1-fsgroup
Open

[cherry-pick][CDAP-21258] Add FSGroupChangePolicy support to SecurityContext#166
sidhdirenge wants to merge 1 commit into
release/3.1from
cherrypick-3.1-fsgroup

Conversation

@sidhdirenge

Copy link
Copy Markdown
Contributor

Cherry pick : #164

Add fsGroupChangePolicy support to the custom SecurityContext struct. This allows configuring fsGroupChangePolicy (e.g., OnRootMismatch) at the pod level for CDAP services like logs, significantly reducing pod startup latency on large volumes. Includes OpenAPI v3 validation enum and updated unit test cases.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for the FSGroupChangePolicy field in the SecurityContext of the CDAP master custom resource definition. This includes updating the API types, generating deepcopy methods, updating the deployment and statefulset templates, and updating the test data. Additionally, the RBAC cluster role configuration was simplified by consolidating resource rules. I have no feedback to provide as there are no review comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant