71 lines
1.3 KiB
YAML
71 lines
1.3 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/onlyoffice-ds
|
||
|
tag: 7.2.1@sha256:710151a628afe6c8156849e053e1d6e57e6d561c6ecdb9b7773d7f774ac5913b
|
||
|
pullPolicy: IfNotPresent
|
||
|
|
||
|
securityContext:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
|
||
|
podSecurityContext:
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
|
||
|
secretEnv:
|
||
|
JWT_SECRET: "randomgeneratedstring"
|
||
|
|
||
|
env:
|
||
|
WOPI_ENABLED: true
|
||
|
JWT_ENABLED: true
|
||
|
DB_TYPE: "postgres"
|
||
|
DB_PORT: 5432
|
||
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||
|
REDIS_SERVER_PORT: 6379
|
||
|
DB_HOST:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: plainhost
|
||
|
DB_PWD:
|
||
|
secretKeyRef:
|
||
|
name: dbcreds
|
||
|
key: postgresql-password
|
||
|
REDIS_SERVER_HOST:
|
||
|
secretKeyRef:
|
||
|
name: rediscreds
|
||
|
key: plainhost
|
||
|
REDIS_SERVER_PASS:
|
||
|
secretKeyRef:
|
||
|
name: rediscreds
|
||
|
key: redis-password
|
||
|
|
||
|
probes:
|
||
|
liveness:
|
||
|
path: "/healthcheck"
|
||
|
readiness:
|
||
|
path: "/healthcheck"
|
||
|
startup:
|
||
|
path: "/healthcheck"
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 10043
|
||
|
targetPort: 80
|
||
|
|
||
|
# Enabled postgres
|
||
|
postgresql:
|
||
|
enabled: true
|
||
|
existingSecret: "dbcreds"
|
||
|
postgresqlUsername: onlyoffice
|
||
|
postgresqlDatabase: onlyoffice
|
||
|
|
||
|
# Enabled redis
|
||
|
redis:
|
||
|
enabled: true
|
||
|
existingSecret: "rediscreds"
|
||
|
|
||
|
portal:
|
||
|
enabled: true
|