Skip to content

Commit

Permalink
Enable read-only root filesystem. (dask#830)
Browse files Browse the repository at this point in the history
* Enable read-only root filesystem.

* Fix linting

---------

Co-authored-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
creste and jacobtomlinson authored Oct 13, 2023
1 parent cb209c9 commit fa7255b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The following table lists the configurable parameters of the Dask-kubernetes-ope
| `securityContext.runAsNonRoot` | | `true` |
| `securityContext.runAsUser` | | `1000` |
| `securityContext.allowPrivilegeEscalation` | | `false` |
| `securityContext.readOnlyRootFilesystem` | | `true` |
| `resources` | Resources for the operator pod | `{}` |
| `volumes` | Volumes for the operator pod | `[]` |
| `volumeMounts` | Volume mounts for the operator container | `[]` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ securityContext: # Security context for the operator container
runAsNonRoot: true
runAsUser: 1000
allowPrivilegeEscalation: false
# readOnlyRootFilesystem: true
readOnlyRootFilesystem: true

resources: {} # Resources for the operator pod
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit fa7255b

Please sign in to comment.