2022-11-10 09:47:57 +00:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/magicmirror-2
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: latest@sha256:d39dd5ba0f16b97ce6da85803c780fa6880569dbcce141c6a4e4700079501625
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
magicmirror:
|
|
|
|
force_update: false
|
|
|
|
force_update_modules: false
|
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: '{{ include "tc.common.names.fullname" . }}-magicmirror-env'
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: HTTP
|
|
|
|
path: /
|
|
|
|
readiness:
|
|
|
|
type: HTTP
|
|
|
|
path: /
|
|
|
|
startup:
|
|
|
|
type: HTTP
|
|
|
|
path: /
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10590
|
|
|
|
protocol: HTTP
|
2022-11-28 07:54:14 +00:00
|
|
|
targetPort: 10000
|
2022-11-10 09:47:57 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /magicmirror2
|
2022-11-28 07:54:14 +00:00
|
|
|
# Mounts a modified default config file to a "tmp" which the entrypoint,
|
|
|
|
# copies to the config location if it does not exist.
|
2022-11-10 09:47:57 +00:00
|
|
|
configfile:
|
|
|
|
enabled: true
|
2022-11-28 07:54:14 +00:00
|
|
|
type: configMap
|
|
|
|
mountPath: /tmp/config.js
|
2022-11-10 09:47:57 +00:00
|
|
|
subPath: config.js
|
2022-11-28 07:54:14 +00:00
|
|
|
objectName: '{{ printf "%s-magicmirror-config" (include "tc.common.names.fullname" .) }}'
|
2022-11-10 09:47:57 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|