Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

Commit 2780dae

Browse files
authored
[plex] add hostNetwork option (#264)
* add hostNetwork for Plex * Update Chart.yaml
1 parent ac2f8c0 commit 2780dae

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

charts/plex/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: 1.19.1.2645-ccb6eb67e
33
description: Plex Media Server
44
name: plex
5-
version: 1.3.2
5+
version: 1.4.0
66
keywords:
77
- plex
88
home: https://plex.tv/

charts/plex/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ spec:
3232
{{- with .Values.imagePullSecrets }}
3333
imagePullSecrets:
3434
{{- toYaml . | nindent 8 }}
35+
{{- end }}
36+
{{- if .Values.hostNetwork }}
37+
hostNetwork: {{ .Values.hostNetwork }}
38+
dnsPolicy: ClusterFirstWithHostNet
3539
{{- end }}
3640
securityContext:
3741
{{- toYaml .Values.podSecurityContext | nindent 8 }}

charts/plex/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ plexPreferences:
139139
mountPath: /etc/cont-init.d/41-plex-preferences
140140
subPath: 41-plex-preferences
141141

142+
hostNetwork: false
143+
142144
persistence:
143145
transcode:
144146
# We want to enable a transcode pvc

0 commit comments

Comments
 (0)