Allow using plexpass for plex

This commit is contained in:
sonicaj
2021-12-28 13:41:22 +05:00
parent 2be60b45b7
commit f0d3945fc0
4 changed files with 18 additions and 10 deletions

View File

@@ -2,3 +2,7 @@ image:
pullPolicy: IfNotPresent
repository: plexinc/pms-docker
tag: 1.25.2.5319-c43dc0277
plexpass_image:
pullPolicy: IfNotPresent
repository: plexinc/pms-docker
tag: plexpass

View File

@@ -1,16 +1,10 @@
groups:
- name: "Container Images"
description: "Image to be used for container"
- name: "Container Entrypoint"
description: "Configuration of the executable that will be run when the container is started"
- name: "Container Environment Variables"
description: "Set the environment that will be visible to the container"
- name: "Plex Configuration"
description: "Configure plex deployment"
- name: "Networking"
description: "Configure networking for container"
- name: "Storage"
description: "Persist and share data that is separate from the lifecycle of the container"
- name: "Plex Configuration"
description: "Configure plex deployment"
- name: "Workload Details"
description: "Configure how workload should be deployed"
- name: "Scaling/Upgrade Policy"
@@ -33,7 +27,12 @@ portals:
path: "/web"
questions:
- variable: enablePlexPass
label: "Use PlexPass"
group: "Plex Configuration"
schema:
type: boolean
default: false
- variable: dnsConfig
label: "DNS Configuration"
group: "Advanced DNS Settings"

View File

@@ -8,7 +8,11 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
{{ if .Values.enablePlexPass }}
{{ include "common.containers.imageConfig" .Values.plexpass_image | nindent 10 }}
{{ else }}
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
{{ end }}
{{ include "common.containers.gpuConfiguration" .Values | nindent 10 }}
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
- name: plex-probe-check

View File

@@ -29,3 +29,4 @@ plexServiceTCP:
port: 32400
timezone: Etc/UTC
updateStrategy: Recreate
enablePlexPass: false