2021-11-16 17:19:04 +00:00
|
|
|
image:
|
2021-12-03 15:44:22 +00:00
|
|
|
repository: tccr.io/truecharts/etherpad
|
2021-11-16 17:19:04 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2021-12-03 15:44:22 +00:00
|
|
|
tag: version-1.8.14@sha256:4900f0e787ca22cf93090ae44ecceb5689d4427c739e1eb637a6e3a913161bf8
|
2021-11-16 17:19:04 +00:00
|
|
|
|
|
|
|
secret: {}
|
|
|
|
|
|
|
|
# See more environment variables in the etherpad documentation
|
|
|
|
# https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
|
|
|
|
# For Mariadb, use DB_TYPE: mysql https://github.com/ether/etherpad-lite/issues/4214
|
|
|
|
env: {}
|
|
|
|
|
|
|
|
envTpl:
|
|
|
|
DB_TYPE: "postgres"
|
|
|
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
DB_PORT: "5432"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
DB_PASS:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DB_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-30 13:04:19 +00:00
|
|
|
port: 10060
|
2021-11-16 17:19:04 +00:00
|
|
|
targetPort: 9001
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/opt/etherpad-lite/var"
|
|
|
|
app:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/opt/etherpad-lite/app"
|
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: etherpad
|
|
|
|
postgresqlDatabase: etherpad
|