TrueChartsClone/charts/stable/onlyoffice-document-server/values.yaml

68 lines
1.7 KiB
YAML

image:
repository: onlyoffice/documentserver
tag: 8.1.3@sha256:b9e3c35eab182d3de822a53b109b0f27070f6eacea3b1388b9c50d1182f638f2
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10043
targetPort: 80
# Enabled postgres
cnpg:
main:
enabled: true
user: onlyoffice
database: onlyoffice
# Enabled redis
redis:
enabled: true
portal:
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: "/healthcheck"
readiness:
path: "/healthcheck"
startup:
path: "/healthcheck"
env:
WOPI_ENABLED: true
JWT_ENABLED: true
DB_TYPE: "postgres"
DB_PORT: 5432
DB_NAME: "{{ .Values.cnpg.main.database }}"
DB_USER: "{{ .Values.cnpg.main.user }}"
REDIS_SERVER_PORT: 6379
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DB_PWD:
secretKeyRef:
name: cnpg-main-user
key: password
REDIS_SERVER_HOST:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: plainhost
REDIS_SERVER_PASS:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: redis-password
JWT_SECRET: "randomgeneratedstring"