129 lines
3.4 KiB
YAML
129 lines
3.4 KiB
YAML
image:
|
|
repository: tombursch/kitchenowl-web
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:2ff6187bfb71e6cb41c5dbaed7ed7872bb271548fe1f8344d6e68fe00ec2c6a7
|
|
backendImage:
|
|
repository: tombursch/kitchenowl
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:cd959a575e8949cdb97f735685669d35100d0001ef1699f4992d20ac9aad50f1
|
|
service:
|
|
main:
|
|
enabled: true
|
|
targetSelector: main
|
|
ports:
|
|
main:
|
|
enabled: true
|
|
targetSelector: main
|
|
protocol: http
|
|
targetPort: 80
|
|
port: 10246
|
|
backend:
|
|
enabled: true
|
|
targetSelector: backend
|
|
ports:
|
|
backend:
|
|
enabled: true
|
|
targetSelector: backend
|
|
protocol: http
|
|
targetPort: 5000
|
|
port: 10247
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
targetSelector:
|
|
backend:
|
|
backend:
|
|
mountPath: /data
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
workload:
|
|
main:
|
|
type: Deployment
|
|
strategy: RollingUpdate
|
|
replicas: 1
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
envFrom:
|
|
- configMapRef:
|
|
name: kitchenowl-config
|
|
env:
|
|
FRONT_URL: "{{ .Values.workload.main.podSpec.containers.main.env.FRONT_URL }}"
|
|
probes:
|
|
liveness:
|
|
type: http
|
|
path: /
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
readiness:
|
|
type: http
|
|
path: /
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
startup:
|
|
type: http
|
|
path: /
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
backend:
|
|
enabled: true
|
|
type: Deployment
|
|
podSpec:
|
|
containers:
|
|
backend:
|
|
enabled: true
|
|
primary: true
|
|
imageSelector: backendImage
|
|
env:
|
|
FRONT_URL: "{{ .Values.workload.main.podSpec.containers.main.env.FRONT_URL }}"
|
|
OIDC_ISSUER: ""
|
|
OIDC_CLIENT_ID: ""
|
|
OIDC_CLIENT_SECRET: ""
|
|
APPLE_CLIENT_ID: ""
|
|
APPLE_CLIENT_SECRET: ""
|
|
GOOGLE_CLIENT_ID: ""
|
|
GOOGLE_CLIENT_SECRET: ""
|
|
# Changed port to 10248 to avoid conflict with frontend
|
|
HTTP_PORT: "10248"
|
|
JWT_SECRET_KEY:
|
|
secretKeyRef:
|
|
name: kitchenowl-secrets
|
|
key: JWT_SECRET_KEY
|
|
DB_DRIVER: "postgresql"
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: host
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
type: tcp
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
readiness:
|
|
enabled: true
|
|
type: tcp
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
startup:
|
|
enabled: true
|
|
type: tcp
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
# Enabled postgres
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: kitchenowl
|
|
database: kitchenowl
|
|
updated: true
|