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