feat: allow to enable or disable some pod privileges (#82)
This commit is contained in:
1 parent
969f7b8885
commit
39cb96db5d
2 files changed
+16
-1
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user