2023-04-11 10:15:00 +00:00
|
|
|
image:
|
2023-05-24 09:42:44 +00:00
|
|
|
repository: tccr.io/truecharts/onlyoffice-ds
|
|
|
|
tag: 7.3.3@sha256:302775072f65ec6f271d0b09a394cff3b2e535f35bb064e1cc18a51c1d14718f
|
2023-04-11 10:15:00 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2023-05-24 09:42:44 +00:00
|
|
|
port: 10043
|
|
|
|
targetPort: 80
|
|
|
|
# Enabled postgres
|
2023-04-11 10:15:00 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
|
2023-05-24 09:42:44 +00:00
|
|
|
user: onlyoffice
|
|
|
|
database: onlyoffice
|
|
|
|
# Enabled redis
|
2023-04-11 10:15:00 +00:00
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
2023-05-24 09:42:44 +00:00
|
|
|
enabled: true
|
2023-04-11 10:15:00 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
2023-05-24 09:42:44 +00:00
|
|
|
runAsNonRoot: false
|
2023-04-11 10:15:00 +00:00
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
2023-05-24 09:42:44 +00:00
|
|
|
path: "/healthcheck"
|
2023-04-11 10:15:00 +00:00
|
|
|
readiness:
|
2023-05-24 09:42:44 +00:00
|
|
|
path: "/healthcheck"
|
2023-04-11 10:15:00 +00:00
|
|
|
startup:
|
2023-05-24 09:42:44 +00:00
|
|
|
path: "/healthcheck"
|
2023-04-11 10:15:00 +00:00
|
|
|
env:
|
2023-05-24 09:42:44 +00:00
|
|
|
WOPI_ENABLED: true
|
|
|
|
JWT_ENABLED: true
|
|
|
|
DB_TYPE: "postgres"
|
|
|
|
DB_PORT: 5432
|
2023-04-11 10:15:00 +00:00
|
|
|
DB_NAME: "{{ .Values.cnpg.main.database }}"
|
2023-05-24 09:42:44 +00:00
|
|
|
DB_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
REDIS_SERVER_PORT: 6379
|
2023-04-11 10:15:00 +00:00
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
2023-05-24 09:42:44 +00:00
|
|
|
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:
|
2023-04-11 10:15:00 +00:00
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
2023-05-24 09:42:44 +00:00
|
|
|
key: redis-password
|
|
|
|
JWT_SECRET: "randomgeneratedstring"
|