diff --git a/charts/stable/joplin-server/Chart.yaml b/charts/stable/joplin-server/Chart.yaml index 9a37d82938e..470d7267a41 100644 --- a/charts/stable/joplin-server/Chart.yaml +++ b/charts/stable/joplin-server/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "2.5.1" description: This server allows you to sync any Joplin client name: joplin-server -version: 5.0.19 +version: 5.0.20 kubeVersion: '>=1.16.0-0' keywords: - joplin diff --git a/charts/stable/joplin-server/questions.yaml b/charts/stable/joplin-server/questions.yaml index 7b0af320f1f..0769e942d9e 100644 --- a/charts/stable/joplin-server/questions.yaml +++ b/charts/stable/joplin-server/questions.yaml @@ -86,6 +86,7 @@ questions: description: "Sets the APP_BASE_URL env var" schema: type: string + required: true default: "" # Include{containerConfig} diff --git a/charts/stable/joplin-server/values.yaml b/charts/stable/joplin-server/values.yaml index 338e72c32dc..d9795b815a8 100644 --- a/charts/stable/joplin-server/values.yaml +++ b/charts/stable/joplin-server/values.yaml @@ -1,9 +1,6 @@ image: - # -- image repository repository: tccr.io/truecharts/joplin-server - # -- image tag tag: v2.5.1@sha256:a285ff0cf05f534efd28c6652925b57a9774ba41923d15536b873fbbdbabcd2b - # -- image pull policy pullPolicy: IfNotPresent securityContext: @@ -14,14 +11,9 @@ podSecurityContext: runAsUser: 0 runAsGroup: 0 -# -- environment variables. See [image docs](https://github.com/laurent22/joplin) for more details. -# @default -- See below env: - # -- Set the container timezone TZ: UTC - # -- joplin-server base URL - APP_BASE_URL: https://joplin.domain - # -- joplin-server listening port (same as Service port) + APP_BASE_URL: http://localhost:22300 APP_PORT: 22300 DB_CLIENT: "pg" POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}" @@ -38,8 +30,14 @@ envValueFrom: name: dbcreds key: plainhost -# -- Configures service settings for the chart. -# @default -- See values.yaml +probes: + liveness: + path: "/api/ping" + readiness: + path: "/api/ping" + startup: + path: "/api/ping" + service: main: ports: @@ -51,8 +49,7 @@ persistence: config: enabled: true mountPath: "/config" -# -- Enable and configure postgresql database subchart under this key. -# @default -- See values.yaml + postgresql: enabled: true existingSecret: "dbcreds"