mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 19:16:17 +08:00
Allow using plexpass for plex
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -29,3 +29,4 @@ plexServiceTCP:
|
||||
port: 32400
|
||||
timezone: Etc/UTC
|
||||
updateStrategy: Recreate
|
||||
enablePlexPass: false
|
||||
|
||||
Reference in New Issue
Block a user