You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 793c5f3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: deploy/helm/openshell/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -728,6 +728,7 @@ for peer identity policies, multi-node registrations, and authorization.
728
728
| sandboxServiceAccount.name | string | `""` | Existing service account name for sandbox pods when sandboxServiceAccount.create is false. |
729
729
| securityContext.allowPrivilegeEscalation | bool | `false` | Whether the gateway container can gain additional privileges. |
730
730
| securityContext.capabilities.drop | list | `["ALL"]` | Linux capabilities dropped from the gateway container. |
731
+
| securityContext.readOnlyRootFilesystem | bool | `true` | Mount the gateway container root filesystem read-only. Mount additional writable paths with server.extraVolumes and server.extraVolumeMounts. |
731
732
| securityContext.runAsNonRoot | bool | `true` | Require the gateway container to run as a non-root user. |
732
733
| securityContext.runAsUser | int | `1000` | UID assigned to the gateway container. |
733
734
| securityContext.seccompProfile.type | string | `"RuntimeDefault"` | Seccomp profile applied to the gateway container. |
Copy file name to clipboardExpand all lines: docs/kubernetes/setup.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -561,6 +561,12 @@ carrying the same rules as the chart's `openshell-sandbox` Role.
561
561
562
562
The gateway workload and the PKI bootstrap hooks satisfy the [Restricted Pod Security Standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/), so the release installs into a namespace labeled `pod-security.kubernetes.io/enforce=restricted`.
563
563
564
+
The gateway container uses a read-only root filesystem by default. The chart
565
+
provides writable volumes for `/tmp`, gateway state, and the StatefulSet's database.
566
+
For custom file output paths, add writable mounts with `server.extraVolumes` and
567
+
`server.extraVolumeMounts`. An extra mount at `/tmp` replaces the chart's temporary
568
+
volume. Set `securityContext.readOnlyRootFilesystem=false` to opt out.
569
+
564
570
## Probes
565
571
566
572
The gateway exposes `/healthz` for process liveness and `/readyz` for dependency-aware readiness on the health port. The Helm chart wires both into Kubernetes probes:
0 commit comments