2022-07-14 05:26:40 -04:00
|
|
|
image:
|
2022-07-18 17:05:16 -04:00
|
|
|
repository: tccr.io/truecharts/plex-meta-manager
|
2022-07-14 05:26:40 -04:00
|
|
|
pullPolicy: IfNotPresent
|
2022-07-25 14:36:51 -04:00
|
|
|
tag: 1.17.2@sha256:8a9f0b25cee092a3cdc6edc46bbdd55f80af0c313e454eb49b017a7d54d55c2e
|
2022-07-14 05:26:40 -04:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
2022-07-18 17:05:16 -04:00
|
|
|
PMM_CONFIG: "/config/config.yml"
|
|
|
|
# PMM_TIME: ""
|
2022-07-15 05:24:49 -04:00
|
|
|
PMM_RUN: true
|
2022-07-18 17:05:16 -04:00
|
|
|
PMM_NO_COUNTDOWN: true
|
2022-07-14 05:26:40 -04:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10281
|
|
|
|
targetPort: 10281
|
|
|
|
protocol: HTTP
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2022-07-18 17:05:16 -04:00
|
|
|
|
|
|
|
initContainers:
|
|
|
|
1-create-init-config-file:
|
|
|
|
image: "{{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }}"
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: "/config"
|
|
|
|
command: ["/bin/sh", "-c"]
|
|
|
|
args:
|
|
|
|
- |-
|
|
|
|
echo "Creating config.yml file..."
|
|
|
|
if [ -f /config/config.yml ]; then
|
|
|
|
echo "Config file exists!, Skipping..."
|
|
|
|
else
|
|
|
|
echo "Config file is missing, getting a new one!"
|
|
|
|
curl -fLvo /config/config.yml https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/config/config.yml.template || ( echo "Downloading config file, FAILED..." && exit 1 )
|
|
|
|
fi
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: false
|