Merge pull request #277 from truenas/NAS-114011

NAS-114011 / 22.02 / Allow using plexpass for plex app
This commit is contained in:
Waqar Ahmed
2021-12-28 18:51:59 +05:00
committed by GitHub
34 changed files with 38 additions and 22 deletions

View File

@@ -14,4 +14,4 @@ sources:
- https://hub.docker.com/r/plexinc/pms-docker/
- https://github.com/k8s-at-home/charts/tree/master/charts/plex
upstream_version: 2.1.0
version: 1.6.15
version: 1.6.16

View File

@@ -2,3 +2,7 @@ image:
pullPolicy: IfNotPresent
repository: plexinc/pms-docker
tag: 1.25.2.5319-c43dc0277
plexpassImage:
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.plexpassImage | 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

View File

@@ -14,4 +14,4 @@ sources:
- https://hub.docker.com/r/plexinc/pms-docker/
- https://github.com/k8s-at-home/charts/tree/master/charts/plex
upstream_version: 2.1.0
version: 1.6.15
version: 1.6.16

View File

@@ -2,3 +2,7 @@ image:
pullPolicy: IfNotPresent
repository: plexinc/pms-docker
tag: 1.25.2.5319-c43dc0277
plexpassImage:
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.plexpassImage | 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