Skip to content

Commit

Permalink
Improve the description of pod securityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed Aug 28, 2024
1 parent f71d9f7 commit c7916e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions charts/trino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,7 @@ Fast distributed SQL query engine for big data analytics that helps you explore
```
* `securityContext` - object, default: `{"runAsGroup":1000,"runAsUser":1000}`

[Pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) configuration.
Remove the pod security context
```yaml
securityContext: ~
```
[Pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) configuration. To remove the default, set it to null (or `~`).
* `containerSecurityContext` - object, default: `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]}}`

[Container security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) configuration.
Expand Down
8 changes: 2 additions & 6 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,15 +346,11 @@ sidecarContainers: {}
# command: ['sleep', '1']
# ```

# -- [Pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) configuration.
# To remove the default, set it to null (or `~`).
securityContext:
runAsUser: 1000
runAsGroup: 1000
# securityContext -- [Pod security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) configuration.
# @raw
# Remove the pod security context
# ```yaml
# securityContext: ~
# ```

# -- [Container security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) configuration.
containerSecurityContext:
Expand Down

0 comments on commit c7916e3

Please sign in to comment.