57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/kitchenowl-web
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:f56c61d6845f2ade75ba3e180cc49a13a8321710cba0783afdea40f11d2e8eb5
|
|
backendImage:
|
|
repository: tccr.io/truecharts/kitchenowl-backend
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:b3654eefdc82caa385f1de67c8dd730d3ef5dca41efd4ce4db77efad793daff3
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
targetPort: 80
|
|
port: 10246
|
|
additionalContainers:
|
|
backend:
|
|
name: backend
|
|
image: "{{ .Values.backendImage.repository }}:{{ .Values.backendImage.tag }}"
|
|
env:
|
|
- name: FRONT_URL
|
|
value: "{{ .Values.workload.main.podSpec.containers.main.env.FRONT_URL }}"
|
|
# Backend also listens on 80, but afaik there is no use as of now
|
|
# Changed port to 81 to avoid conflict with frontend
|
|
- name: HTTP_PORT
|
|
value: "81"
|
|
- name: JWT_SECRET_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: kitchenowl-secrets
|
|
key: JWT_SECRET_KEY
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: "/data"
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
FRONT_URL: "http://localhost:10246"
|
|
# Backend listens on 5000 websockets.
|
|
BACK_URL: "localhost:5000"
|