2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/joplin-server
|
2022-02-06 14:15:32 +00:00
|
|
|
tag: v2.7.4@sha256:6832f3ed894279ba8a1ab03b4033d11dadc28e3f36364eed7b69eadb52f8e1e4
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
|
|
|
env:
|
2022-01-10 17:11:07 +00:00
|
|
|
APP_BASE_URL: http://localhost:22300
|
2021-10-19 12:20:06 +00:00
|
|
|
APP_PORT: 22300
|
|
|
|
DB_CLIENT: "pg"
|
|
|
|
POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
POSTGRES_PORT: "5432"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
2022-01-10 17:11:07 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/ping"
|
|
|
|
readiness:
|
|
|
|
path: "/api/ping"
|
|
|
|
startup:
|
|
|
|
path: "/api/ping"
|
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 22300
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 22300
|
2021-10-19 12:20:06 +00:00
|
|
|
|
2021-11-14 19:19:16 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2022-01-10 17:11:07 +00:00
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: joplin
|
|
|
|
postgresqlDatabase: joplin
|