2023-08-29 16:59:41 +00:00
|
|
|
image:
|
2023-11-17 10:34:06 +00:00
|
|
|
repository: cyfershepard/jellystat
|
2023-08-29 16:59:41 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 10:34:06 +00:00
|
|
|
tag: latest@sha256:6b0eafe5fc5097204f16b275d2a908f738e1f7b6517b2a3ceb40fc4fdd06e021
|
2023-08-29 16:59:41 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
protocol: http
|
|
|
|
port: 10681
|
|
|
|
targetPort: 3000
|
|
|
|
ws:
|
|
|
|
enabled: true
|
|
|
|
protocol: tcp
|
|
|
|
port: 10682
|
|
|
|
targetPort: 3004
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/"
|
|
|
|
readiness:
|
|
|
|
path: "/"
|
|
|
|
startup:
|
|
|
|
path: "/"
|
|
|
|
env:
|
|
|
|
# PORT variables do not work.
|
|
|
|
# PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
# WS_PORT: "{{ .Values.service.main.ports.ws.port }}"
|
|
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
POSTGRES_IP:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
JWT_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: jellystat-secrets
|
|
|
|
key: JWT_SECRET
|
|
|
|
persistence:
|
|
|
|
backup:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/app/backend/backup-data"
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
# static name
|
|
|
|
user: jfstat
|
|
|
|
database: jfstat
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|