Skip to content

Commit 446974c

Browse files
committed
feat: add shareProcessNamespace for pods
Add a toggle for configuring the shareProcessNamespace stanza.
1 parent 13f2a21 commit 446974c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

charts/plex-media-server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Before contributing, please read the [Code of Conduct](../../CODE_OF_CONDUCT.md)
130130
| pms.readinessProbe | object | `{}` | Add kubernetes readiness probe to pms container. |
131131
| pms.resources | object | `{}` | |
132132
| pms.securityContext | object | `{}` | Security context for PMS pods |
133+
| pms.shareProcessNamespace | bool | `false` | enable process namespace sharing within the pod. |
133134
| pms.storageClassName | string | `nil` | The storage class to use when provisioning the pms config volume this needs to be created manually, null will use the default |
134135
| priorityClassName | string | `""` | |
135136
| rclone | object | `{"additionalArgs":[],"configSecret":"","enabled":false,"image":{"pullPolicy":"IfNotPresent","registry":"index.docker.io","repository":"rclone/rclone","sha":"","tag":"1.62.2"},"readOnly":true,"remotes":[],"resources":{}}` | The settings specific to rclone |

charts/plex-media-server/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ spec:
147147
securityContext:
148148
{{- toYaml . | nindent 10 }}
149149
{{- end }}
150+
{{- if .Values.pms.shareProcessNamespace }}
151+
shareProcessNamespace: {{ .Values.pms.shareProcessNamespace }}
152+
{{- end }}
150153
volumeMounts:
151154
- name: pms-config
152155
mountPath: /config

charts/plex-media-server/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ pms:
6262
# -- Security context for PMS pods
6363
securityContext: {}
6464

65+
# -- enable process namespace sharing within the pod.
66+
shareProcessNamespace: false
67+
6568
# -- Add kubernetes liveness probe to pms container.
6669
livenessProbe: {}
6770
# httpGet:

0 commit comments

Comments
 (0)