From d2b88babcf428354bb4279f17a0afee59132ca98 Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:41:45 +0100 Subject: [PATCH] =?UTF-8?q?=20=E2=AC=86=EF=B8=8F=20ghostfolio=20app-templa?= =?UTF-8?q?te=20v2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/ghostfolio/app/helmrelease.yaml | 57 +++++++++++-------- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/kubernetes/apps/default/ghostfolio/app/helmrelease.yaml b/kubernetes/apps/default/ghostfolio/app/helmrelease.yaml index 51866e934..3f6a818ac 100644 --- a/kubernetes/apps/default/ghostfolio/app/helmrelease.yaml +++ b/kubernetes/apps/default/ghostfolio/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 @@ -29,25 +29,34 @@ spec: dependsOn: - name: ghostfolio-redis values: - controller: - strategy: RollingUpdate - annotations: - reloader.stakater.com/auto: "true" - initContainers: - 01-init-db: - image: ghcr.io/auricom/postgres-init:15.4 - imagePullPolicy: IfNotPresent - envFrom: &envFrom - - secretRef: - name: ghostfolio-secret - image: - repository: docker.io/ghostfolio/ghostfolio - tag: 2.16.0 - env: - NODE_ENV: production - REDIS_HOST: ghostfolio-redis.default.svc.cluster.local - REDIS_PORT: 6379 - envFrom: *envFrom + 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: ghostfolio-secret + containers: + main: + image: + repository: docker.io/ghostfolio/ghostfolio + tag: 2.16.0 + env: + NODE_ENV: production + REDIS_HOST: ghostfolio-redis.default.svc.cluster.local + REDIS_PORT: 6379 + envFrom: *envFrom + resources: + requests: + cpu: 100m + memory: 256Mi service: main: ports: @@ -63,11 +72,9 @@ spec: - host: &host "portfolio.${SECRET_CLUSTER_DOMAIN}" paths: - path: / - pathType: Prefix + service: + name: main + port: http tls: - hosts: - *host - resources: - requests: - cpu: 100m - memory: 256Mi