Skip to content
Snippets Groups Projects

chore: add the chart to run the Rodolf application

Merged Aurélien Lubert requested to merge topic/default/write-chart into branch/default
values.yaml 0 → 100644
+ 57
0
 
cubicweb:
 
image: registry.logilab.fr/cubicweb/cubes/rodolf
 
imageTag: latest
 
 
# store the login session in Redis
 
sessionsInRedis: true
 
# use a backup volume
 
backupPvcClaimName: backup
 
# backup the database before the migration upgrade
 
backupBeforeCwUpgrade: true
 
# run the database initialization before the helm release process
 
runDbInitBeforeHelmRelease: true
 
 
# deployment probes
 
readinessProbe:
 
url: /login
 
livenessProbe:
 
url: /login
 
 
# Rodolf Redis queue worker
 
worker:
 
enabled: true
 
args: ["cubicweb-ctl", "rq-worker", "instance"]
 
resources:
 
requests:
 
cpu: 50m
 
memory: 200Mi
 
limits:
 
memory: 200Mi
 
 
# nginx ingress
 
ingress:
 
noindex: true
 
enabled: true
 
# annotations:
 
# nginx.ingress.kubernetes.io/configuration-snippet: |
 
# more_set_headers "Vary: Origin";
 
# nginx.ingress.kubernetes.io/enable-cors: "false"
 
# nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, OPTIONS"
 
# nginx.ingress.kubernetes.io/cors-allow-headers: "Content-Type, X-Client-Name"
 
# nginx.ingress.kubernetes.io/cors-allow-origin: "https://rodolf.example.com"
 
 
web-app:
 
image:
 
repo: registry.logilab.fr/cubicweb/cubes/rodolf/frontend
 
tag: latest
 
 
# name of the web application
 
appName: rodolf
 
# front-end exposed port
 
port: 3000
 
 
# nginx ingress
 
ingress:
 
noindex: true
 
clusterIssuer: false
 
tlsSecret: false
Loading