feat: initialize genai shared_fs permissions to agent group in helm deployment #9065
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Our helm deployments for GenAI have been not working for environments that use specific agent group IDs.
This change makes sure that we give the user a way to define the agent group ID for the shared drive, and initialize it to both use the group and allow all permissions underneath it to propagate this user with the setgid flag.
Test Plan
Add the following to your
values.yaml
Deploy:
helm install --generate-name . --set maxSlotsPerPod=1 --debug --dry-run
It should contain a
apiVersion: batch/v1
job that starts with the namegenai-initialize-shared-fs-permissions
If you toggle
shouldInitializeSharedFSGroupPermissions
tofalse
, it will not be present in the dry-run outputCommentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket