feat: allow to enable or disable some pod privileges (#82)

This commit is contained in:
Benoît Sauvère authored and GitHub committed 2025-11-02 20:46:36 -07:00 Unverified
1 parent 969f7b8885
commit 39cb96db5d
2 files changed
+16 -1

No files matched your search

+7 -1
View File
@@ -36,9 +36,15 @@ spec:
serviceAccountName: {{ include "jellyfin.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.jellyfin.enableDLNA }}
{{- if or .Values.jellyfin.enableDLNA .Values.podPrivileges.hostNetwork }}
hostNetwork: true
{{- end }}
{{- if .Values.podPrivileges.hostIPC }}
hostIPC: true
{{- end }}
{{- if .Values.podPrivileges.hostPID }}
hostPID: true
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext: