[plex] add hostNetwork option (#264)

* add hostNetwork for Plex

* Update Chart.yaml
This commit is contained in:
Devin Buhl 2020-07-06 08:55:42 -04:00 committed by GitHub
parent ac2f8c0da7
commit 2780dae688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.19.1.2645-ccb6eb67e appVersion: 1.19.1.2645-ccb6eb67e
description: Plex Media Server description: Plex Media Server
name: plex name: plex
version: 1.3.2 version: 1.4.0
keywords: keywords:
- plex - plex
home: https://plex.tv/ home: https://plex.tv/

View File

@ -32,6 +32,10 @@ spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: ClusterFirstWithHostNet
{{- end }} {{- end }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}

View File

@ -139,6 +139,8 @@ plexPreferences:
mountPath: /etc/cont-init.d/41-plex-preferences mountPath: /etc/cont-init.d/41-plex-preferences
subPath: 41-plex-preferences subPath: 41-plex-preferences
hostNetwork: false
persistence: persistence:
transcode: transcode:
# We want to enable a transcode pvc # We want to enable a transcode pvc