2024-11-08 19:25:09 +01:00
|
|
|
# Default values for impress.
|
|
|
|
|
# This is a YAML-formatted file.
|
|
|
|
|
# Declare variables to be passed into your templates.
|
|
|
|
|
|
|
|
|
|
## @section General configuration
|
|
|
|
|
|
|
|
|
|
## @param image.repository Repository to use to pull impress's container image
|
|
|
|
|
## @param image.tag impress's container tag
|
|
|
|
|
## @param image.pullPolicy Container image pull policy
|
|
|
|
|
## @extra image.credentials.username Username for container registry authentication
|
|
|
|
|
## @extra image.credentials.password Password for container registry authentication
|
|
|
|
|
## @extra image.credentials.registry Registry url for which the credentials are specified
|
|
|
|
|
## @extra image.credentials.name Name of the generated secret for imagePullSecrets
|
|
|
|
|
image:
|
|
|
|
|
repository: lasuite/impress-backend
|
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
tag: "latest"
|
|
|
|
|
|
|
|
|
|
## @param nameOverride Override the chart name
|
|
|
|
|
## @param fullnameOverride Override the full application name
|
|
|
|
|
nameOverride: ""
|
|
|
|
|
fullnameOverride: ""
|
|
|
|
|
|
|
|
|
|
## @skip commonEnvVars
|
|
|
|
|
commonEnvVars: &commonEnvVars
|
|
|
|
|
<<: []
|
|
|
|
|
|
|
|
|
|
## @param ingress.enabled whether to enable the Ingress or not
|
|
|
|
|
## @param ingress.className IngressClass to use for the Ingress
|
|
|
|
|
## @param ingress.host Host for the Ingress
|
|
|
|
|
## @param ingress.path Path to use for the Ingress
|
|
|
|
|
ingress:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
path: /
|
|
|
|
|
## @param ingress.hosts Additional host to configure for the Ingress
|
|
|
|
|
hosts: []
|
|
|
|
|
# - chart-example.local
|
2024-12-04 21:56:11 +01:00
|
|
|
## @param ingress.tls.enabled Weather to enable TLS for the Ingress
|
|
|
|
|
## @param ingress.tls.secretName Secret name for TLS config
|
2024-11-08 19:25:09 +01:00
|
|
|
## @skip ingress.tls.additional
|
|
|
|
|
## @extra ingress.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingress.tls.additional[].hosts[] Hosts for additional TLS config
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
2024-12-04 21:56:11 +01:00
|
|
|
secretName: null
|
2024-11-08 19:25:09 +01:00
|
|
|
additional: []
|
|
|
|
|
|
|
|
|
|
## @param ingress.customBackends Add custom backends to ingress
|
|
|
|
|
customBackends: []
|
|
|
|
|
|
2024-12-03 15:19:26 +01:00
|
|
|
## @param ingressCollaborationWS.enabled whether to enable the Ingress or not
|
|
|
|
|
## @param ingressCollaborationWS.className IngressClass to use for the Ingress
|
|
|
|
|
## @param ingressCollaborationWS.host Host for the Ingress
|
|
|
|
|
## @param ingressCollaborationWS.path Path to use for the Ingress
|
|
|
|
|
ingressCollaborationWS:
|
2024-11-08 19:25:09 +01:00
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
2024-12-03 15:19:26 +01:00
|
|
|
path: /collaboration/ws/
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param ingressCollaborationWS.hosts Additional host to configure for the Ingress
|
2024-11-08 19:25:09 +01:00
|
|
|
hosts: []
|
|
|
|
|
# - chart-example.local
|
2024-12-04 21:56:11 +01:00
|
|
|
## @param ingressCollaborationWS.tls.enabled Weather to enable TLS for the Ingress
|
|
|
|
|
## @param ingressCollaborationWS.tls.secretName Secret name for TLS config
|
2024-12-03 15:19:26 +01:00
|
|
|
## @skip ingressCollaborationWS.tls.additional
|
|
|
|
|
## @extra ingressCollaborationWS.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingressCollaborationWS.tls.additional[].hosts[] Hosts for additional TLS config
|
2024-11-08 19:25:09 +01:00
|
|
|
tls:
|
|
|
|
|
enabled: true
|
2024-12-04 21:56:11 +01:00
|
|
|
secretName: null
|
2024-11-08 19:25:09 +01:00
|
|
|
additional: []
|
|
|
|
|
|
2024-12-03 15:19:26 +01:00
|
|
|
## @param ingressCollaborationWS.customBackends Add custom backends to ingress
|
2024-11-08 19:25:09 +01:00
|
|
|
customBackends: []
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param ingressCollaborationWS.annotations.nginx.ingress.kubernetes.io/enable-websocket
|
|
|
|
|
## @param ingressCollaborationWS.annotations.nginx.ingress.kubernetes.io/proxy-read-timeout
|
|
|
|
|
## @param ingressCollaborationWS.annotations.nginx.ingress.kubernetes.io/proxy-send-timeout
|
|
|
|
|
## @param ingressCollaborationWS.annotations.nginx.ingress.kubernetes.io/upstream-hash-by
|
2024-12-04 21:56:11 +01:00
|
|
|
annotations:
|
|
|
|
|
nginx.ingress.kubernetes.io/enable-websocket: "true"
|
2024-12-03 15:19:26 +01:00
|
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "86400"
|
|
|
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "86400"
|
|
|
|
|
nginx.ingress.kubernetes.io/upstream-hash-by: $arg_room
|
|
|
|
|
|
2025-12-11 09:58:59 +01:00
|
|
|
## @param ingressRedirects.enabled whether to enable the Ingress Redirects or not
|
|
|
|
|
## @param ingressRedirects.className IngressClass to use for the Ingress Redirects
|
|
|
|
|
## @param ingressRedirects.host Host for the Ingress Redirects
|
|
|
|
|
ingressRedirects:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
## @param ingressRedirects.tls.enabled Weather to enable TLS for the Ingress Redirects
|
|
|
|
|
## @param ingressRedirects.tls.secretName Secret name for TLS config
|
|
|
|
|
## @skip ingressRedirects.tls.additional
|
|
|
|
|
## @extra ingressRedirects.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingressRedirects.tls.additional[].hosts[] Hosts for additional TLS config
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
|
|
|
|
secretName: null
|
|
|
|
|
additional: []
|
|
|
|
|
## @param ingressRedirects.rules Rules for the Ingress Redirects
|
|
|
|
|
rules: []
|
|
|
|
|
|
2024-12-03 15:19:26 +01:00
|
|
|
## @param ingressCollaborationApi.enabled whether to enable the Ingress or not
|
|
|
|
|
## @param ingressCollaborationApi.className IngressClass to use for the Ingress
|
|
|
|
|
## @param ingressCollaborationApi.host Host for the Ingress
|
|
|
|
|
## @param ingressCollaborationApi.path Path to use for the Ingress
|
|
|
|
|
ingressCollaborationApi:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
path: /collaboration/api/
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param ingressCollaborationApi.hosts Additional host to configure for the Ingress
|
2024-12-03 15:19:26 +01:00
|
|
|
hosts: []
|
|
|
|
|
# - chart-example.local
|
2024-12-04 21:56:11 +01:00
|
|
|
## @param ingressCollaborationApi.tls.enabled Weather to enable TLS for the Ingress
|
|
|
|
|
## @param ingressCollaborationApi.tls.secretName Secret name for TLS config
|
2024-12-03 15:19:26 +01:00
|
|
|
## @skip ingressCollaborationApi.tls.additional
|
|
|
|
|
## @extra ingressCollaborationApi.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingressCollaborationApi.tls.additional[].hosts[] Hosts for additional TLS config
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
2024-12-04 21:56:11 +01:00
|
|
|
secretName: null
|
2024-12-03 15:19:26 +01:00
|
|
|
additional: []
|
|
|
|
|
|
|
|
|
|
## @param ingressCollaborationApi.customBackends Add custom backends to ingress
|
|
|
|
|
customBackends: []
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param ingressCollaborationApi.annotations.nginx.ingress.kubernetes.io/upstream-hash-by
|
2024-12-04 21:56:11 +01:00
|
|
|
annotations:
|
2024-12-03 15:19:26 +01:00
|
|
|
nginx.ingress.kubernetes.io/upstream-hash-by: $arg_room
|
2024-11-08 19:25:09 +01:00
|
|
|
|
2024-12-04 21:56:11 +01:00
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param ingressAdmin.enabled whether to enable the Ingress or not
|
|
|
|
|
## @param ingressAdmin.className IngressClass to use for the Ingress
|
|
|
|
|
## @param ingressAdmin.host Host for the Ingress
|
|
|
|
|
## @param ingressAdmin.path Path to use for the Ingress
|
|
|
|
|
ingressAdmin:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
path: /admin
|
|
|
|
|
## @param ingressAdmin.hosts Additional host to configure for the Ingress
|
|
|
|
|
hosts: [ ]
|
|
|
|
|
# - chart-example.local
|
2024-12-04 21:56:11 +01:00
|
|
|
## @param ingressAdmin.tls.enabled Weather to enable TLS for the Ingress
|
|
|
|
|
## @param ingressAdmin.tls.secretName Secret name for TLS config
|
2024-11-08 19:25:09 +01:00
|
|
|
## @skip ingressAdmin.tls.additional
|
|
|
|
|
## @extra ingressAdmin.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingressAdmin.tls.additional[].hosts[] Hosts for additional TLS config
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
2024-12-04 21:56:11 +01:00
|
|
|
secretName: null
|
2024-11-08 19:25:09 +01:00
|
|
|
additional: []
|
|
|
|
|
|
|
|
|
|
## @param ingressMedia.enabled whether to enable the Ingress or not
|
|
|
|
|
## @param ingressMedia.className IngressClass to use for the Ingress
|
|
|
|
|
## @param ingressMedia.host Host for the Ingress
|
|
|
|
|
## @param ingressMedia.path Path to use for the Ingress
|
|
|
|
|
ingressMedia:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
path: /media/(.*)
|
|
|
|
|
## @param ingressMedia.hosts Additional host to configure for the Ingress
|
|
|
|
|
hosts: [ ]
|
|
|
|
|
# - chart-example.local
|
2024-12-04 21:56:11 +01:00
|
|
|
## @param ingressMedia.tls.enabled Weather to enable TLS for the Ingress
|
|
|
|
|
## @param ingressMedia.tls.secretName Secret name for TLS config
|
2024-11-08 19:25:09 +01:00
|
|
|
## @skip ingressMedia.tls.additional
|
|
|
|
|
## @extra ingressMedia.tls.additional[].secretName Secret name for additional TLS config
|
|
|
|
|
## @extra ingressMedia.tls.additional[].hosts[] Hosts for additional TLS config
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
2024-12-04 21:56:11 +01:00
|
|
|
secretName: null
|
2024-11-08 19:25:09 +01:00
|
|
|
additional: []
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param ingressMedia.annotations.nginx.ingress.kubernetes.io/auth-url
|
|
|
|
|
## @param ingressMedia.annotations.nginx.ingress.kubernetes.io/auth-response-headers
|
|
|
|
|
## @param ingressMedia.annotations.nginx.ingress.kubernetes.io/upstream-vhost
|
2025-05-07 16:30:41 +02:00
|
|
|
## @param ingressMedia.annotations.nginx.ingress.kubernetes.io/configuration-snippet
|
2024-11-08 19:25:09 +01:00
|
|
|
annotations:
|
2024-11-18 07:59:55 +01:00
|
|
|
nginx.ingress.kubernetes.io/auth-url: https://impress.example.com/api/v1.0/documents/media-auth/
|
2024-11-08 19:25:09 +01:00
|
|
|
nginx.ingress.kubernetes.io/auth-response-headers: "Authorization, X-Amz-Date, X-Amz-Content-SHA256"
|
|
|
|
|
nginx.ingress.kubernetes.io/upstream-vhost: minio.impress.svc.cluster.local:9000
|
2025-02-27 16:23:04 +01:00
|
|
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
|
|
|
|
add_header Content-Security-Policy "default-src 'none'" always;
|
2024-11-08 19:25:09 +01:00
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param serviceMedia.host
|
|
|
|
|
## @param serviceMedia.port
|
|
|
|
|
## @param serviceMedia.annotations
|
2024-11-08 19:25:09 +01:00
|
|
|
serviceMedia:
|
|
|
|
|
host: minio.impress.svc.cluster.local
|
|
|
|
|
port: 9000
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## @section backend
|
|
|
|
|
|
|
|
|
|
backend:
|
|
|
|
|
|
|
|
|
|
## @param backend.command Override the backend container command
|
|
|
|
|
command: []
|
|
|
|
|
|
|
|
|
|
## @param backend.args Override the backend container args
|
|
|
|
|
args: []
|
|
|
|
|
|
|
|
|
|
## @param backend.replicas Amount of backend replicas
|
|
|
|
|
replicas: 3
|
|
|
|
|
|
|
|
|
|
## @param backend.shareProcessNamespace Enable share process namespace between containers
|
|
|
|
|
shareProcessNamespace: false
|
|
|
|
|
|
|
|
|
|
## @param backend.sidecars Add sidecars containers to backend deployment
|
|
|
|
|
sidecars: []
|
|
|
|
|
|
|
|
|
|
## @param backend.migrateJobAnnotations Annotations for the migrate job
|
|
|
|
|
migrateJobAnnotations: {}
|
|
|
|
|
|
2025-06-05 16:40:33 +02:00
|
|
|
## @param backend.jobs.ttlSecondsAfterFinished Period to wait before remove jobs
|
|
|
|
|
## @param backend.jobs.backoffLimit Numbers of jobs retries
|
|
|
|
|
jobs:
|
|
|
|
|
ttlSecondsAfterFinished: 30
|
|
|
|
|
backoffLimit: 2
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param backend.securityContext Configure backend Pod security context
|
2026-01-08 15:53:16 +01:00
|
|
|
securityContext:
|
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
|
capabilities:
|
|
|
|
|
drop:
|
|
|
|
|
- "ALL"
|
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
seccompProfile:
|
|
|
|
|
type: RuntimeDefault
|
2024-11-08 19:25:09 +01:00
|
|
|
|
|
|
|
|
## @param backend.envVars Configure backend container environment variables
|
|
|
|
|
## @extra backend.envVars.BY_VALUE Example environment variable by setting value directly
|
|
|
|
|
## @extra backend.envVars.FROM_CONFIGMAP.configMapKeyRef.name Name of a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra backend.envVars.FROM_CONFIGMAP.configMapKeyRef.key Key within a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra backend.envVars.FROM_SECRET.secretKeyRef.name Name of a Secret when configuring env vars from a Secret
|
|
|
|
|
## @extra backend.envVars.FROM_SECRET.secretKeyRef.key Key within a Secret when configuring env vars from a Secret
|
|
|
|
|
## @skip backend.envVars
|
|
|
|
|
envVars:
|
|
|
|
|
<<: *commonEnvVars
|
|
|
|
|
|
|
|
|
|
## @param backend.podAnnotations Annotations to add to the backend Pod
|
|
|
|
|
podAnnotations: {}
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param backend.dpAnnotations Annotations to add to the backend Deployment
|
|
|
|
|
dpAnnotations: {}
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param backend.service.type backend Service type
|
|
|
|
|
## @param backend.service.port backend Service listening port
|
|
|
|
|
## @param backend.service.targetPort backend container listening port
|
|
|
|
|
## @param backend.service.annotations Annotations to add to the backend Service
|
|
|
|
|
service:
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 80
|
|
|
|
|
targetPort: 8000
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
2025-03-20 10:43:07 +01:00
|
|
|
## @param backend.migrate.command backend migrate command
|
|
|
|
|
## @param backend.migrate.restartPolicy backend migrate job restart policy
|
2024-11-08 19:25:09 +01:00
|
|
|
migrate:
|
|
|
|
|
command:
|
2025-06-05 16:40:33 +02:00
|
|
|
- /bin/sh
|
|
|
|
|
- "-c"
|
|
|
|
|
- |
|
|
|
|
|
while ! python manage.py check --database default > /dev/null 2>&1
|
|
|
|
|
do
|
|
|
|
|
echo "Database not ready"
|
|
|
|
|
sleep 2
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo "Database is ready"
|
|
|
|
|
|
|
|
|
|
python manage.py migrate --no-input
|
2024-11-08 19:25:09 +01:00
|
|
|
restartPolicy: Never
|
|
|
|
|
|
2025-03-20 10:43:07 +01:00
|
|
|
## @param backend.createsuperuser.command backend migrate command
|
|
|
|
|
## @param backend.createsuperuser.restartPolicy backend migrate job restart policy
|
2024-12-19 16:29:34 +01:00
|
|
|
createsuperuser:
|
|
|
|
|
command:
|
|
|
|
|
- "/bin/sh"
|
|
|
|
|
- "-c"
|
|
|
|
|
- |
|
2025-06-05 16:40:33 +02:00
|
|
|
while ! python manage.py check --database default > /dev/null 2>&1
|
|
|
|
|
do
|
|
|
|
|
echo "Database not ready"
|
|
|
|
|
sleep 2
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo "Database is ready"
|
|
|
|
|
|
2024-12-19 16:29:34 +01:00
|
|
|
python manage.py createsuperuser --email $DJANGO_SUPERUSER_EMAIL --password $DJANGO_SUPERUSER_PASSWORD
|
|
|
|
|
restartPolicy: Never
|
|
|
|
|
|
2025-01-24 20:28:27 +01:00
|
|
|
## @extra backend.job job dedicated to run a random management command, for example after a deployment
|
|
|
|
|
## @param backend.job.name The name to use to describe this job
|
|
|
|
|
## @param backend.job.command The management command to execute
|
|
|
|
|
## @param backend.job.restartPolicy The restart policy for the job.
|
|
|
|
|
## @extra backend.job.annotations Annotations to add to the job [default: argocd.argoproj.io/hook: PostSync]
|
|
|
|
|
## @skip backend.job.annotations.argocd.argoproj.io/hook
|
|
|
|
|
job:
|
|
|
|
|
name: ""
|
|
|
|
|
command: []
|
|
|
|
|
restartPolicy: Never
|
2025-03-20 10:43:07 +01:00
|
|
|
annotations:
|
2025-01-24 20:28:27 +01:00
|
|
|
argocd.argoproj.io/hook: PostSync
|
|
|
|
|
|
2025-07-01 14:49:46 +02:00
|
|
|
# List of cronjob to add
|
|
|
|
|
# cronjobs:
|
|
|
|
|
# - name: reset-database
|
|
|
|
|
# schedule: "0 */2 * * *"
|
|
|
|
|
# command:
|
|
|
|
|
# - "/bin/sh"
|
|
|
|
|
# - "-c"
|
|
|
|
|
# - python manage.py flush --no-input
|
|
|
|
|
## @param backend.cronjobs Cronjob name, schedule, command
|
|
|
|
|
cronjobs: []
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param backend.probes.liveness.path [nullable] Configure path for backend HTTP liveness probe
|
|
|
|
|
## @param backend.probes.liveness.targetPort [nullable] Configure port for backend HTTP liveness probe
|
|
|
|
|
## @param backend.probes.liveness.initialDelaySeconds [nullable] Configure initial delay for backend liveness probe
|
|
|
|
|
## @param backend.probes.liveness.initialDelaySeconds [nullable] Configure timeout for backend liveness probe
|
|
|
|
|
## @param backend.probes.startup.path [nullable] Configure path for backend HTTP startup probe
|
|
|
|
|
## @param backend.probes.startup.targetPort [nullable] Configure port for backend HTTP startup probe
|
|
|
|
|
## @param backend.probes.startup.initialDelaySeconds [nullable] Configure initial delay for backend startup probe
|
|
|
|
|
## @param backend.probes.startup.initialDelaySeconds [nullable] Configure timeout for backend startup probe
|
|
|
|
|
## @param backend.probes.readiness.path [nullable] Configure path for backend HTTP readiness probe
|
|
|
|
|
## @param backend.probes.readiness.targetPort [nullable] Configure port for backend HTTP readiness probe
|
|
|
|
|
## @param backend.probes.readiness.initialDelaySeconds [nullable] Configure initial delay for backend readiness probe
|
|
|
|
|
## @param backend.probes.readiness.initialDelaySeconds [nullable] Configure timeout for backend readiness probe
|
|
|
|
|
probes:
|
|
|
|
|
liveness:
|
|
|
|
|
path: /__heartbeat__
|
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
|
readiness:
|
|
|
|
|
path: /__lbheartbeat__
|
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
|
|
|
|
|
|
## @param backend.resources Resource requirements for the backend container
|
|
|
|
|
resources: {}
|
|
|
|
|
|
|
|
|
|
## @param backend.nodeSelector Node selector for the backend Pod
|
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
|
|
## @param backend.tolerations Tolerations for the backend Pod
|
|
|
|
|
tolerations: []
|
|
|
|
|
|
|
|
|
|
## @param backend.affinity Affinity for the backend Pod
|
|
|
|
|
affinity: {}
|
|
|
|
|
|
|
|
|
|
## @param backend.persistence Additional volumes to create and mount on the backend. Used for debugging purposes
|
|
|
|
|
## @extra backend.persistence.volume-name.size Size of the additional volume
|
|
|
|
|
## @extra backend.persistence.volume-name.type Type of the additional volume, persistentVolumeClaim or emptyDir
|
|
|
|
|
## @extra backend.persistence.volume-name.mountPath Path where the volume should be mounted to
|
|
|
|
|
persistence: {}
|
|
|
|
|
|
|
|
|
|
## @param backend.extraVolumeMounts Additional volumes to mount on the backend.
|
|
|
|
|
extraVolumeMounts: []
|
|
|
|
|
|
|
|
|
|
## @param backend.extraVolumes Additional volumes to mount on the backend.
|
|
|
|
|
extraVolumes: []
|
|
|
|
|
|
2025-02-07 16:26:25 +01:00
|
|
|
## @param backend.pdb.enabled Enable pdb on backend
|
|
|
|
|
pdb:
|
|
|
|
|
enabled: true
|
2024-11-08 19:25:09 +01:00
|
|
|
|
2025-03-20 10:43:07 +01:00
|
|
|
## @param backend.serviceAccountName Optional service account name to use for backend pods
|
|
|
|
|
serviceAccountName: null
|
|
|
|
|
|
2025-05-07 16:30:41 +02:00
|
|
|
## @param backend.themeCustomization.enabled Enable theme customization
|
|
|
|
|
## @param backend.themeCustomization.file_content Content of the theme customization file. Must be a json object.
|
|
|
|
|
## @param backend.themeCustomization.mount_path Path where the customization file will be mounted in the backend deployment.
|
|
|
|
|
themeCustomization:
|
|
|
|
|
enabled: false
|
|
|
|
|
file_content: ""
|
2025-05-12 19:29:01 +02:00
|
|
|
mount_path: /app/impress/configuration/theme
|
2025-05-07 16:30:41 +02:00
|
|
|
|
|
|
|
|
|
2025-05-12 19:23:48 +02:00
|
|
|
## @param backend.celery.replicas Amount of celery replicas
|
|
|
|
|
## @param backend.celery.command Override the celery container command
|
|
|
|
|
## @param backend.celery.args Override the celery container args
|
|
|
|
|
## @param backend.celery.resources Resource requirements for the celery container
|
|
|
|
|
## @param backend.celery.probes.liveness.exec.command Override the celery container liveness probe command
|
|
|
|
|
## @param backend.celery.probes.liveness.initialDelaySeconds Initial delay for the celery container liveness probe
|
|
|
|
|
## @param backend.celery.probes.liveness.timeoutSeconds Timeout for the celery container liveness probe
|
|
|
|
|
## @param backend.celery.probes.readiness.exec.command Override the celery container readiness probe command
|
|
|
|
|
## @param backend.celery.probes.readiness.initialDelaySeconds Initial delay for the celery container readiness probe
|
|
|
|
|
## @param backend.celery.probes.readiness.timeoutSeconds Timeout for the celery container readiness probe
|
|
|
|
|
celery:
|
|
|
|
|
replicas: 1
|
|
|
|
|
command: []
|
|
|
|
|
args: ["celery", "-A", "impress.celery_app", "worker", "-l", "INFO", "-n", "impress@%h"]
|
|
|
|
|
resources: {}
|
|
|
|
|
probes:
|
|
|
|
|
liveness:
|
|
|
|
|
exec:
|
|
|
|
|
command: ["/bin/sh", "-c", "celery -A impress.celery_app inspect ping -d impress@$HOSTNAME"]
|
|
|
|
|
initialDelaySeconds: 60
|
|
|
|
|
timeoutSeconds: 5
|
|
|
|
|
readiness:
|
|
|
|
|
exec:
|
|
|
|
|
command: ["/bin/sh", "-c", "celery -A impress.celery_app inspect ping -d impress@$HOSTNAME"]
|
|
|
|
|
initialDelaySeconds: 15
|
|
|
|
|
timeoutSeconds: 5
|
|
|
|
|
|
|
|
|
|
|
2025-05-07 16:30:41 +02:00
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @section frontend
|
|
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
|
## @param frontend.image.repository Repository to use to pull impress's frontend container image
|
|
|
|
|
## @param frontend.image.tag impress's frontend container tag
|
|
|
|
|
## @param frontend.image.pullPolicy frontend container image pull policy
|
|
|
|
|
image:
|
|
|
|
|
repository: lasuite/impress-frontend
|
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
tag: "latest"
|
|
|
|
|
|
|
|
|
|
## @param frontend.command Override the frontend container command
|
|
|
|
|
command: []
|
|
|
|
|
|
|
|
|
|
## @param frontend.args Override the frontend container args
|
|
|
|
|
args: []
|
|
|
|
|
|
|
|
|
|
## @param frontend.replicas Amount of frontend replicas
|
|
|
|
|
replicas: 3
|
|
|
|
|
|
|
|
|
|
## @param frontend.shareProcessNamespace Enable share process namefrontend between containers
|
|
|
|
|
shareProcessNamespace: false
|
|
|
|
|
|
|
|
|
|
## @param frontend.sidecars Add sidecars containers to frontend deployment
|
|
|
|
|
sidecars: []
|
|
|
|
|
|
|
|
|
|
## @param frontend.securityContext Configure frontend Pod security context
|
2026-01-08 15:53:16 +01:00
|
|
|
securityContext:
|
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
|
capabilities:
|
|
|
|
|
drop:
|
|
|
|
|
- "ALL"
|
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
seccompProfile:
|
|
|
|
|
type: RuntimeDefault
|
2024-11-08 19:25:09 +01:00
|
|
|
|
|
|
|
|
## @param frontend.envVars Configure frontend container environment variables
|
|
|
|
|
## @extra frontend.envVars.BY_VALUE Example environment variable by setting value directly
|
|
|
|
|
## @extra frontend.envVars.FROM_CONFIGMAP.configMapKeyRef.name Name of a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra frontend.envVars.FROM_CONFIGMAP.configMapKeyRef.key Key within a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra frontend.envVars.FROM_SECRET.secretKeyRef.name Name of a Secret when configuring env vars from a Secret
|
|
|
|
|
## @extra frontend.envVars.FROM_SECRET.secretKeyRef.key Key within a Secret when configuring env vars from a Secret
|
|
|
|
|
## @skip frontend.envVars
|
|
|
|
|
envVars:
|
|
|
|
|
<<: *commonEnvVars
|
|
|
|
|
|
|
|
|
|
## @param frontend.podAnnotations Annotations to add to the frontend Pod
|
|
|
|
|
podAnnotations: {}
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param frontend.dpAnnotations Annotations to add to the frontend Deployment
|
|
|
|
|
dpAnnotations: {}
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param frontend.service.type frontend Service type
|
|
|
|
|
## @param frontend.service.port frontend Service listening port
|
|
|
|
|
## @param frontend.service.targetPort frontend container listening port
|
|
|
|
|
## @param frontend.service.annotations Annotations to add to the frontend Service
|
|
|
|
|
service:
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 80
|
|
|
|
|
targetPort: 8080
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.probes Configure probe for frontend
|
|
|
|
|
## @extra frontend.probes.liveness.path Configure path for frontend HTTP liveness probe
|
|
|
|
|
## @extra frontend.probes.liveness.targetPort Configure port for frontend HTTP liveness probe
|
|
|
|
|
## @extra frontend.probes.liveness.initialDelaySeconds Configure initial delay for frontend liveness probe
|
|
|
|
|
## @extra frontend.probes.liveness.initialDelaySeconds Configure timeout for frontend liveness probe
|
|
|
|
|
## @extra frontend.probes.startup.path Configure path for frontend HTTP startup probe
|
|
|
|
|
## @extra frontend.probes.startup.targetPort Configure port for frontend HTTP startup probe
|
|
|
|
|
## @extra frontend.probes.startup.initialDelaySeconds Configure initial delay for frontend startup probe
|
|
|
|
|
## @extra frontend.probes.startup.initialDelaySeconds Configure timeout for frontend startup probe
|
|
|
|
|
## @extra frontend.probes.readiness.path Configure path for frontend HTTP readiness probe
|
|
|
|
|
## @extra frontend.probes.readiness.targetPort Configure port for frontend HTTP readiness probe
|
|
|
|
|
## @extra frontend.probes.readiness.initialDelaySeconds Configure initial delay for frontend readiness probe
|
|
|
|
|
## @extra frontend.probes.readiness.initialDelaySeconds Configure timeout for frontend readiness probe
|
|
|
|
|
probes: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.resources Resource requirements for the frontend container
|
|
|
|
|
resources: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.nodeSelector Node selector for the frontend Pod
|
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.tolerations Tolerations for the frontend Pod
|
|
|
|
|
tolerations: []
|
|
|
|
|
|
|
|
|
|
## @param frontend.affinity Affinity for the frontend Pod
|
|
|
|
|
affinity: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.persistence Additional volumes to create and mount on the frontend. Used for debugging purposes
|
|
|
|
|
## @extra frontend.persistence.volume-name.size Size of the additional volume
|
|
|
|
|
## @extra frontend.persistence.volume-name.type Type of the additional volume, persistentVolumeClaim or emptyDir
|
|
|
|
|
## @extra frontend.persistence.volume-name.mountPath Path where the volume should be mounted to
|
|
|
|
|
persistence: {}
|
|
|
|
|
|
|
|
|
|
## @param frontend.extraVolumeMounts Additional volumes to mount on the frontend.
|
|
|
|
|
extraVolumeMounts: []
|
|
|
|
|
|
|
|
|
|
## @param frontend.extraVolumes Additional volumes to mount on the frontend.
|
|
|
|
|
extraVolumes: []
|
|
|
|
|
|
2025-02-07 16:26:25 +01:00
|
|
|
## @param frontend.pdb.enabled Enable pdb on frontend
|
|
|
|
|
pdb:
|
|
|
|
|
enabled: true
|
|
|
|
|
|
2025-03-20 10:43:07 +01:00
|
|
|
## @param frontend.serviceAccountName Optional service account name to use for frontend pods
|
|
|
|
|
serviceAccountName: null
|
|
|
|
|
|
2025-01-27 15:41:39 +01:00
|
|
|
## @section posthog
|
|
|
|
|
|
|
|
|
|
posthog:
|
|
|
|
|
|
|
|
|
|
## @param posthog.ingress.enabled Enable or disable the ingress resource creation
|
|
|
|
|
## @param posthog.ingress.className Kubernetes ingress class name to use (e.g., nginx, traefik)
|
|
|
|
|
## @param posthog.ingress.host Primary hostname for the ingress resource
|
|
|
|
|
## @param posthog.ingress.path URL path prefix for the ingress routes (e.g., /)
|
|
|
|
|
## @param posthog.ingress.hosts Additional hostnames array to be included in the ingress
|
|
|
|
|
## @param posthog.ingress.tls.enabled Enable or disable TLS/HTTPS for the ingress
|
|
|
|
|
## @param posthog.ingress.tls.additional Additional TLS configurations for extra hosts/certificates
|
|
|
|
|
## @param posthog.ingress.customBackends Custom backend service configurations for the ingress
|
|
|
|
|
## @param posthog.ingress.annotations Additional Kubernetes annotations to apply to the ingress
|
|
|
|
|
ingress:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
path: /
|
|
|
|
|
hosts: [ ]
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
|
|
|
|
additional: [ ]
|
|
|
|
|
|
|
|
|
|
customBackends: [ ]
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
## @param posthog.ingressAssets.enabled Enable or disable the ingress resource creation
|
|
|
|
|
## @param posthog.ingressAssets.className Kubernetes ingress class name to use (e.g., nginx, traefik)
|
|
|
|
|
## @param posthog.ingressAssets.host Primary hostname for the ingress resource
|
|
|
|
|
## @param posthog.ingressAssets.paths URL paths prefix for the ingress routes (e.g., /static)
|
|
|
|
|
## @param posthog.ingressAssets.hosts Additional hostnames array to be included in the ingress
|
|
|
|
|
## @param posthog.ingressAssets.tls.enabled Enable or disable TLS/HTTPS for the ingress
|
|
|
|
|
## @param posthog.ingressAssets.tls.additional Additional TLS configurations for extra hosts/certificates
|
|
|
|
|
## @param posthog.ingressAssets.customBackends Custom backend service configurations for the ingress
|
|
|
|
|
## @param posthog.ingressAssets.annotations Additional Kubernetes annotations to apply to the ingress
|
|
|
|
|
ingressAssets:
|
|
|
|
|
enabled: false
|
|
|
|
|
className: null
|
|
|
|
|
host: impress.example.com
|
|
|
|
|
paths:
|
|
|
|
|
- /static
|
|
|
|
|
- /array
|
|
|
|
|
hosts: [ ]
|
|
|
|
|
tls:
|
|
|
|
|
enabled: true
|
|
|
|
|
additional: [ ]
|
|
|
|
|
|
|
|
|
|
customBackends: [ ]
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
## @param posthog.service.type Service type (e.g. ExternalName, ClusterIP, LoadBalancer)
|
|
|
|
|
## @param posthog.service.externalName External service hostname when type is ExternalName
|
|
|
|
|
## @param posthog.service.port Port number for the service
|
|
|
|
|
## @param posthog.service.annotations Additional annotations to apply to the service
|
|
|
|
|
service:
|
|
|
|
|
type: ExternalName
|
|
|
|
|
externalName: eu.i.posthog.com
|
|
|
|
|
port: 443
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
## @param posthog.assetsService.type Service type (e.g. ExternalName, ClusterIP, LoadBalancer)
|
|
|
|
|
## @param posthog.assetsService.externalName External service hostname when type is ExternalName
|
|
|
|
|
## @param posthog.assetsService.port Port number for the service
|
|
|
|
|
## @param posthog.assetsService.annotations Additional annotations to apply to the service
|
|
|
|
|
assetsService:
|
|
|
|
|
type: ExternalName
|
|
|
|
|
externalName: eu-assets.i.posthog.com
|
|
|
|
|
port: 443
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @section yProvider
|
|
|
|
|
|
|
|
|
|
yProvider:
|
|
|
|
|
## @param yProvider.image.repository Repository to use to pull impress's yProvider container image
|
|
|
|
|
## @param yProvider.image.tag impress's yProvider container tag
|
|
|
|
|
## @param yProvider.image.pullPolicy yProvider container image pull policy
|
|
|
|
|
image:
|
|
|
|
|
repository: lasuite/impress-y-provider
|
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
tag: "latest"
|
|
|
|
|
|
|
|
|
|
## @param yProvider.command Override the yProvider container command
|
|
|
|
|
command: []
|
|
|
|
|
|
|
|
|
|
## @param yProvider.args Override the yProvider container args
|
|
|
|
|
args: []
|
|
|
|
|
|
|
|
|
|
## @param yProvider.replicas Amount of yProvider replicas
|
|
|
|
|
replicas: 3
|
|
|
|
|
|
|
|
|
|
## @param yProvider.shareProcessNamespace Enable share process nameyProvider between containers
|
|
|
|
|
shareProcessNamespace: false
|
|
|
|
|
|
|
|
|
|
## @param yProvider.sidecars Add sidecars containers to yProvider deployment
|
|
|
|
|
sidecars: []
|
|
|
|
|
|
|
|
|
|
## @param yProvider.securityContext Configure yProvider Pod security context
|
2026-01-08 15:53:16 +01:00
|
|
|
securityContext:
|
|
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
|
capabilities:
|
|
|
|
|
drop:
|
|
|
|
|
- "ALL"
|
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
seccompProfile:
|
|
|
|
|
type: RuntimeDefault
|
2024-11-08 19:25:09 +01:00
|
|
|
|
|
|
|
|
## @param yProvider.envVars Configure yProvider container environment variables
|
|
|
|
|
## @extra yProvider.envVars.BY_VALUE Example environment variable by setting value directly
|
|
|
|
|
## @extra yProvider.envVars.FROM_CONFIGMAP.configMapKeyRef.name Name of a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra yProvider.envVars.FROM_CONFIGMAP.configMapKeyRef.key Key within a ConfigMap when configuring env vars from a ConfigMap
|
|
|
|
|
## @extra yProvider.envVars.FROM_SECRET.secretKeyRef.name Name of a Secret when configuring env vars from a Secret
|
|
|
|
|
## @extra yProvider.envVars.FROM_SECRET.secretKeyRef.key Key within a Secret when configuring env vars from a Secret
|
|
|
|
|
## @skip yProvider.envVars
|
|
|
|
|
envVars:
|
|
|
|
|
<<: *commonEnvVars
|
|
|
|
|
|
|
|
|
|
## @param yProvider.podAnnotations Annotations to add to the yProvider Pod
|
|
|
|
|
podAnnotations: {}
|
|
|
|
|
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param yProvider.dpAnnotations Annotations to add to the yProvider Deployment
|
|
|
|
|
dpAnnotations: {}
|
|
|
|
|
|
2024-11-08 19:25:09 +01:00
|
|
|
## @param yProvider.service.type yProvider Service type
|
|
|
|
|
## @param yProvider.service.port yProvider Service listening port
|
|
|
|
|
## @param yProvider.service.targetPort yProvider container listening port
|
|
|
|
|
## @param yProvider.service.annotations Annotations to add to the yProvider Service
|
|
|
|
|
service:
|
|
|
|
|
type: ClusterIP
|
|
|
|
|
port: 443
|
|
|
|
|
targetPort: 4444
|
|
|
|
|
annotations: {}
|
|
|
|
|
|
|
|
|
|
## @extra yProvider.probes.liveness.path Configure path for yProvider HTTP liveness probe
|
|
|
|
|
## @extra yProvider.probes.liveness.targetPort Configure port for yProvider HTTP liveness probe
|
|
|
|
|
## @extra yProvider.probes.liveness.initialDelaySeconds Configure initial delay for yProvider liveness probe
|
|
|
|
|
## @extra yProvider.probes.liveness.initialDelaySeconds Configure timeout for yProvider liveness probe
|
|
|
|
|
## @extra yProvider.probes.startup.path Configure path for yProvider HTTP startup probe
|
|
|
|
|
## @extra yProvider.probes.startup.targetPort Configure port for yProvider HTTP startup probe
|
|
|
|
|
## @extra yProvider.probes.startup.initialDelaySeconds Configure initial delay for yProvider startup probe
|
|
|
|
|
## @extra yProvider.probes.startup.initialDelaySeconds Configure timeout for yProvider startup probe
|
|
|
|
|
## @extra yProvider.probes.readiness.path Configure path for yProvider HTTP readiness probe
|
|
|
|
|
## @extra yProvider.probes.readiness.targetPort Configure port for yProvider HTTP readiness probe
|
|
|
|
|
## @extra yProvider.probes.readiness.initialDelaySeconds Configure initial delay for yProvider readiness probe
|
|
|
|
|
## @extra yProvider.probes.readiness.initialDelaySeconds Configure timeout for yProvider readiness probe
|
|
|
|
|
probes:
|
|
|
|
|
liveness:
|
2025-01-08 16:53:27 +01:00
|
|
|
## @param yProvider.probes.liveness.path
|
|
|
|
|
## @param yProvider.probes.liveness.initialDelaySeconds
|
2024-11-08 19:25:09 +01:00
|
|
|
path: /ping
|
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
|
|
|
|
|
|
## @param yProvider.resources Resource requirements for the yProvider container
|
|
|
|
|
resources: {}
|
|
|
|
|
|
|
|
|
|
## @param yProvider.nodeSelector Node selector for the yProvider Pod
|
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
|
|
## @param yProvider.tolerations Tolerations for the yProvider Pod
|
|
|
|
|
tolerations: []
|
|
|
|
|
|
|
|
|
|
## @param yProvider.affinity Affinity for the yProvider Pod
|
|
|
|
|
affinity: {}
|
|
|
|
|
|
|
|
|
|
## @param yProvider.persistence Additional volumes to create and mount on the yProvider. Used for debugging purposes
|
|
|
|
|
## @extra yProvider.persistence.volume-name.size Size of the additional volume
|
|
|
|
|
## @extra yProvider.persistence.volume-name.type Type of the additional volume, persistentVolumeClaim or emptyDir
|
|
|
|
|
## @extra yProvider.persistence.volume-name.mountPath Path where the volume should be mounted to
|
|
|
|
|
persistence: {}
|
|
|
|
|
|
|
|
|
|
## @param yProvider.extraVolumeMounts Additional volumes to mount on the yProvider.
|
|
|
|
|
extraVolumeMounts: []
|
|
|
|
|
|
|
|
|
|
## @param yProvider.extraVolumes Additional volumes to mount on the yProvider.
|
2024-12-04 21:56:11 +01:00
|
|
|
extraVolumes: []
|
2025-02-07 16:26:25 +01:00
|
|
|
|
|
|
|
|
## @param yProvider.pdb.enabled Enable pdb on yProvider
|
|
|
|
|
pdb:
|
|
|
|
|
enabled: true
|
2025-03-20 10:43:07 +01:00
|
|
|
|
|
|
|
|
## @param yProvider.serviceAccountName Optional service account name to use for yProvider pods
|
|
|
|
|
serviceAccountName: null
|