70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/onlyoffice-ds
|
|
tag: v7.4.0@sha256:9eb52b77b6dd9334eb50ea0ebf040d9e5a93b8898174cdacde8276986a2553d4
|
|
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"
|