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