⬆️ ghostfolio app-template v2

This commit is contained in:
auricom
2023-10-29 15:41:45 +01:00
parent 6901f757e5
commit d2b88babcf

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
@@ -29,25 +29,34 @@ spec:
dependsOn: dependsOn:
- name: ghostfolio-redis - name: ghostfolio-redis
values: values:
controller: controllers:
strategy: RollingUpdate main:
annotations: strategy: RollingUpdate
reloader.stakater.com/auto: "true" annotations:
initContainers: reloader.stakater.com/auto: "true"
01-init-db: initContainers:
image: ghcr.io/auricom/postgres-init:15.4 init-db:
imagePullPolicy: IfNotPresent image:
envFrom: &envFrom repository: ghcr.io/auricom/postgres-init
- secretRef: tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
name: ghostfolio-secret pullPolicy: IfNotPresent
image: envFrom: &envFrom
repository: docker.io/ghostfolio/ghostfolio - secretRef:
tag: 2.16.0 name: ghostfolio-secret
env: containers:
NODE_ENV: production main:
REDIS_HOST: ghostfolio-redis.default.svc.cluster.local image:
REDIS_PORT: 6379 repository: docker.io/ghostfolio/ghostfolio
envFrom: *envFrom 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: service:
main: main:
ports: ports:
@@ -63,11 +72,9 @@ spec:
- host: &host "portfolio.${SECRET_CLUSTER_DOMAIN}" - host: &host "portfolio.${SECRET_CLUSTER_DOMAIN}"
paths: paths:
- path: / - path: /
pathType: Prefix service:
name: main
port: http
tls: tls:
- hosts: - hosts:
- *host - *host
resources:
requests:
cpu: 100m
memory: 256Mi