From b0c5f8a18e727a5c324a7e958c424ede56867ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Fri, 8 Dec 2023 17:26:20 +0100 Subject: [PATCH 1/2] feat(uptime-kuma): upgrade to app-template v2.3.0 --- .../uptime-kuma/app/helm-release.yaml | 56 +++++++++++++------ 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml b/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml index fd5a199eb..c6baf647d 100644 --- a/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml +++ b/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml @@ -9,7 +9,7 @@ spec: chart: spec: chart: app-template - version: 1.5.1 + version: 2.3.0 sourceRef: kind: HelmRepository name: bjw-s-charts @@ -22,21 +22,36 @@ spec: retries: 3 remediateLastFailure: true values: - global: - nameOverride: *app - image: - repository: louislam/uptime-kuma - tag: 1.23.8 + controllers: + main: + annotations: + reloader.stakater.com/auto: "true" + containers: + main: + nameOverride: *app + env: + TZ: ${SETTING_TZ} + image: + repository: louislam/uptime-kuma + tag: 1.23.8 + ports: + - name: http + containerPort: 3001 + protocol: TCP + resources: + requests: + cpu: 10m + memory: 50Mi + limits: + memory: 150Mi + service: main: ports: http: port: 3001 - persistence: - config: - enabled: true - existingClaim: uptime-kuma-config - mountPath: /app/data + protocol: TCP + ingress: main: enabled: true @@ -49,14 +64,19 @@ spec: - host: &host "status.${SECRET_DOMAIN}" paths: - path: / - pathType: Prefix + service: + name: main + port: http tls: - hosts: - *host secretName: status-tls - resources: - requests: - cpu: 10m - memory: 50Mi - limits: - memory: 150Mi + + persistence: + config: + enabled: true + existingClaim: uptime-kuma-config + advancedMounts: + main: + main: + - path: /app/data From c925731adf767e2056e065d4c33f167359ec60f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Fri, 8 Dec 2023 17:28:21 +0100 Subject: [PATCH 2/2] fix(uptime-kuma): fix indentation in helm-release.yaml --- .../uptime-kuma/app/helm-release.yaml | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml b/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml index c6baf647d..146c7bd10 100644 --- a/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml +++ b/kubernetes/talos-flux/apps/observability/uptime-kuma/app/helm-release.yaml @@ -26,24 +26,24 @@ spec: main: annotations: reloader.stakater.com/auto: "true" - containers: - main: - nameOverride: *app - env: - TZ: ${SETTING_TZ} - image: - repository: louislam/uptime-kuma - tag: 1.23.8 - ports: - - name: http - containerPort: 3001 - protocol: TCP - resources: - requests: - cpu: 10m - memory: 50Mi - limits: - memory: 150Mi + containers: + main: + nameOverride: *app + env: + TZ: ${SETTING_TZ} + image: + repository: louislam/uptime-kuma + tag: 1.23.8 + ports: + - name: http + containerPort: 3001 + protocol: TCP + resources: + requests: + cpu: 10m + memory: 50Mi + limits: + memory: 150Mi service: main: