image: repository: tccr.io/truecharts/documentserver tag: v7.0.0.132@sha256:25c99327a7a76a186dec4d4bf8f31eaeebf0e57b8c3476a1cf29e7c5d9ac185a pullPolicy: IfNotPresent securityContext: readOnlyRootFilesystem: false runAsNonRoot: false podSecurityContext: runAsUser: 0 runAsGroup: 0 secret: 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 envValueFrom: DB_HOST: secretKeyRef: name: dbcreds key: plainhost DB_PWD: secretKeyRef: name: dbcreds key: postgresql-password REDIS_SERVER_HOST: secretKeyRef: name: rediscreds key: url 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"