b30fe8dbf0
This PR contains the following updates: | Package | Update | Change | |---|---|---| | docker.io/tombursch/kitchenowl | digest | `9f8d7e7` → `3406168` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/18710) for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImFwcC9raXRjaGVub3dsIiwiYXV0b21lcmdlIiwicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9kaWdlc3QiXX0=-->
140 lines
3.8 KiB
YAML
140 lines
3.8 KiB
YAML
# yaml-language-server: $schema=./values.schema.json
|
|
image:
|
|
repository: docker.io/tombursch/kitchenowl-web
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:9f50e9a713f6910496f7660c93224693c961fb70c4a572dd908345082cd3bcdc
|
|
backendImage:
|
|
repository: docker.io/tombursch/kitchenowl
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:34061684cd23f422bd8aafcb49f05929ac49d059883cd1f3ebbc5cdeef31e6ba
|
|
|
|
service:
|
|
main:
|
|
enabled: true
|
|
# Target frontend pod
|
|
targetSelector: frontend
|
|
ports:
|
|
main:
|
|
enabled: true
|
|
# Target frontend container
|
|
targetSelector: frontend
|
|
protocol: http
|
|
targetPort: 80
|
|
port: 10246
|
|
backend:
|
|
enabled: true
|
|
# Target main(backend) pod
|
|
targetSelector: main
|
|
ports:
|
|
backend:
|
|
enabled: true
|
|
# Target main(backend) container
|
|
targetSelector: main
|
|
protocol: http
|
|
targetPort: 5000
|
|
port: 10247
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
targetSelector:
|
|
main:
|
|
main:
|
|
mountPath: /data
|
|
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
main:
|
|
enabled: true
|
|
primary: true
|
|
type: Deployment
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
# Backend
|
|
enabled: true
|
|
primary: true
|
|
imageSelector: backendImage
|
|
env:
|
|
FRONT_URL: ""
|
|
OIDC_ISSUER: ""
|
|
OIDC_CLIENT_ID: ""
|
|
OIDC_CLIENT_SECRET: ""
|
|
APPLE_CLIENT_ID: ""
|
|
APPLE_CLIENT_SECRET: ""
|
|
GOOGLE_CLIENT_ID: ""
|
|
GOOGLE_CLIENT_SECRET: ""
|
|
JWT_SECRET_KEY:
|
|
secretKeyRef:
|
|
name: kitchenowl-secrets
|
|
key: JWT_SECRET_KEY
|
|
STORAGE_PATH: "{{ .Values.persistence.data.targetSelector.main.main.mountPath }}"
|
|
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: exec
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
command:
|
|
- uwsgi_curl
|
|
- localhost:5000
|
|
- /api/health/8M4F88S8ooi4sMbLBfkkV7ctWwgibW6V
|
|
readiness:
|
|
enabled: true
|
|
type: exec
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
command:
|
|
- uwsgi_curl
|
|
- localhost:5000
|
|
- /api/health/8M4F88S8ooi4sMbLBfkkV7ctWwgibW6V
|
|
startup:
|
|
enabled: true
|
|
type: tcp
|
|
port: "{{ .Values.service.backend.ports.backend.targetPort }}"
|
|
frontend:
|
|
enabled: true
|
|
type: Deployment
|
|
strategy: RollingUpdate
|
|
replicas: 1
|
|
podSpec:
|
|
containers:
|
|
frontend:
|
|
enabled: true
|
|
primary: true
|
|
env:
|
|
BACK_URL: '{{ printf "%s-backend:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.backend.ports.backend.port }}'
|
|
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: tcp
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
# Enabled postgres
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: kitchenowl
|
|
database: kitchenowl
|