Skip to content

Commit 5585b6c

Browse files
committed
docs: fsGroup
1 parent 75ea993 commit 5585b6c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

onechart-reference.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,9 @@ helm template my-release onechart/onechart -f values.yaml
539539

540540
## Security Context
541541

542-
For security reasons, if your application doesn't require root access and writing to the root file system, we recommend you to set `readOnlyRootFilesystem: true` and `runAsNonRoot: true`.
542+
For security reasons, if your application doesn't require root access and writing to the root file system, we recommend you to set `readOnlyRootFilesystem: true` and `runAsNonRoot: true`.
543+
544+
By default, OneChart sets `fsGroup: 999` in the pod security context. This is useful for applications that need to write to volumes and need a specific group ID for file permissions.
543545

544546
**Example of setting security context for containers**
545547

0 commit comments

Comments
 (0)