2024-04-29 12:41:56 +00:00
|
|
|
image:
|
2024-05-05 16:55:19 +00:00
|
|
|
repository: kometateam/kometa
|
|
|
|
tag: v2.0.1@sha256:c1f9d1ef49f976377a4bbbe9018bfed9a7057ccf427d10759a8ad975d4505300
|
2024-04-29 12:41:56 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
|
2024-05-05 16:55:19 +00:00
|
|
|
kometa:
|
2024-04-29 12:41:56 +00:00
|
|
|
run: false
|
|
|
|
no_countdown: true
|
|
|
|
time:
|
|
|
|
- "00:00"
|
|
|
|
# plex_url: ""
|
|
|
|
# plex_token: ""
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
initContainers:
|
|
|
|
create-init-config-file:
|
|
|
|
enabled: true
|
|
|
|
type: init
|
|
|
|
imageSelector: "image"
|
|
|
|
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!"
|
2024-05-05 16:55:19 +00:00
|
|
|
curl -fLvo /config/config.yml https://raw.githubusercontent.com/kometa-team/kometa/master/config/config.yml.template || (echo "Downloading config file, FAILED..." && exit 1)
|
2024-04-29 12:41:56 +00:00
|
|
|
fi
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: "secret"
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
|
|
|
targetSelectAll: true
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|