feat(onlyoffice-document-server): Use our db and redis instead of buildin (#1794)

* feat(onlyoffice-document-server): Use our db and redis instead of the builtin

* one day.. i'll spell correctly..

* update iamge
This commit is contained in:
Stavros Kois 2022-01-26 02:54:06 +02:00 committed by GitHub
parent 4629c7be3e
commit c3562752f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 11 deletions

View File

@ -4,6 +4,14 @@ dependencies:
- name: common
repository: https://truecharts.org
version: 8.14.2
- condition: postgresql.enabled
name: postgresql
repository: https://truecharts.org/
version: 6.0.58
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 1.0.63
description: 'ONLYOFFICE Document Server is an online office suite comprising viewers
and editors for texts, spreadsheets and presentations, fully compatible with Office
Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real
@ -22,7 +30,7 @@ sources:
- https://github.com/ONLYOFFICE/DocumentServer
- https://github.com/ONLYOFFICE/Docker-DocumentServer
- https://hub.docker.com/r/onlyoffice/documentserver/
version: 3.0.16
version: 3.0.17
annotations:
truecharts.org/catagories: |
- office

View File

@ -1,9 +1,6 @@
image:
# -- image repository
repository: tccr.io/truecharts/documentserver
# -- image tag
tag: v6.4.2.6@sha256:c298cbb59a2d7f73a5a9bc5cc11f9e0e299ef2ab966e64f3e8d8382921a6341c
# -- image pull policy
tag: v7.0.0.132@sha256:25c99327a7a76a186dec4d4bf8f31eaeebf0e57b8c3476a1cf29e7c5d9ac185a
pullPolicy: IfNotPresent
securityContext:
@ -16,10 +13,30 @@ podSecurityContext:
secret:
JWT_SECRET: "randomgeneratedstring"
# -- environment variables. See [image docs](https://github.com/ONLYOFFICE/Docker-DocumentServer#available-configuration-parameters) for more details.
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:
@ -27,8 +44,14 @@ service:
port: 10043
targetPort: 80
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# Enabled postgres
postgresql:
enabled: true
existingSecret: "dbcreds"
postgresqlUsername: onlyoffice
postgresqlDatabase: onlyoffice
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"