⬆️ joplin app-template v2

This commit is contained in:
auricom
2023-11-01 16:16:39 +01:00
parent cda11063d1
commit 0692dfe89e

View File

@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -27,34 +27,40 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
global: controllers:
nameOverride: *app main:
controller: strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
01-init-db: init-db:
image: ghcr.io/auricom/postgres-init:15.4 image:
imagePullPolicy: IfNotPresent repository: ghcr.io/auricom/postgres-init
envFrom: &envFrom tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
- secretRef: pullPolicy: IfNotPresent
name: &secret joplin-secret envFrom: &envFrom
image: - secretRef:
repository: joplin/server name: joplin-secret
tag: 2.13.2-beta containers:
env: main:
APP_BASE_URL: https://joplin.${SECRET_CLUSTER_DOMAIN} image:
APP_PORT: &port 8080 repository: joplin/server
DB_CLIENT: pg tag: 2.13.2-beta
MAILER_ENABLED: 1 env:
MAILER_HOST: smtp-relay.default.svc.cluster.local. APP_BASE_URL: https://joplin.${SECRET_CLUSTER_DOMAIN}
MAILER_PORT: 2525 APP_PORT: &port 8080
MAILER_SECURITY: none DB_CLIENT: pg
MAILER_NOREPLY_NAME: JoplinServer MAILER_ENABLED: 1
MAILER_NOREPLY_EMAIL: joplin@${SECRET_DOMAIN} MAILER_HOST: smtp-relay.default.svc.cluster.local.
envFrom: MAILER_PORT: 2525
- secretRef: MAILER_SECURITY: none
name: joplin-secret MAILER_NOREPLY_NAME: JoplinServer
MAILER_NOREPLY_EMAIL: joplin@${SECRET_DOMAIN}
envFrom: *envFrom
resources:
requests:
cpu: 50m
memory: 256Mi
service: service:
main: main:
ports: ports:
@@ -63,7 +69,7 @@ spec:
ingress: ingress:
main: main:
enabled: true enabled: true
ingressClassName: "nginx" className: "nginx"
annotations: annotations:
external-dns.home.arpa/enabled: "true" external-dns.home.arpa/enabled: "true"
hajimari.io/icon: mdi:text hajimari.io/icon: mdi:text
@@ -71,11 +77,10 @@ spec:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
resources:
requests:
cpu: 50m
memory: 256Mi