From 3540f4f1dd31741e37fd3904aecb3ae504ac6ca9 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 16 May 2025 18:18:40 -0500 Subject: [PATCH] update app-template chart --- clusters/cl01tl/applications/immich/Chart.yaml | 2 +- .../immich/templates/external-secrets.yaml | 10 ++-------- .../immich/templates/http-route.yaml | 5 +---- .../templates/persistent-volume-claim.yaml | 5 +---- .../immich/templates/persistent-volume.yaml | 5 +---- .../immich/templates/service-monitor.yaml | 5 +---- clusters/cl01tl/applications/immich/values.yaml | 16 +++++++--------- 7 files changed, 14 insertions(+), 34 deletions(-) diff --git a/clusters/cl01tl/applications/immich/Chart.yaml b/clusters/cl01tl/applications/immich/Chart.yaml index e2e27078e..8d8b08092 100644 --- a/clusters/cl01tl/applications/immich/Chart.yaml +++ b/clusters/cl01tl/applications/immich/Chart.yaml @@ -19,7 +19,7 @@ dependencies: - name: app-template alias: immich repository: https://bjw-s-labs.github.io/helm-charts/ - version: 3.7.3 + version: 4.0.1 - name: valkey version: 3.0.6 repository: oci://harbor.alexlebens.net/proxy-registry-1.docker.io/bitnamicharts diff --git a/clusters/cl01tl/applications/immich/templates/external-secrets.yaml b/clusters/cl01tl/applications/immich/templates/external-secrets.yaml index fb8519059..d95261338 100644 --- a/clusters/cl01tl/applications/immich/templates/external-secrets.yaml +++ b/clusters/cl01tl/applications/immich/templates/external-secrets.yaml @@ -4,11 +4,8 @@ metadata: name: immich-config-secret namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: immich-config-secret + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: config - app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore @@ -29,11 +26,8 @@ metadata: name: immich-postgresql-16-cluster-backup-secret namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: immich-postgresql-16-cluster-backup-secret + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: database - app.kubernetes.io/part-of: {{ .Release.Name }} spec: secretStoreRef: kind: ClusterSecretStore diff --git a/clusters/cl01tl/applications/immich/templates/http-route.yaml b/clusters/cl01tl/applications/immich/templates/http-route.yaml index f4e72d4c5..a33f788c4 100644 --- a/clusters/cl01tl/applications/immich/templates/http-route.yaml +++ b/clusters/cl01tl/applications/immich/templates/http-route.yaml @@ -4,11 +4,8 @@ metadata: name: http-route-immich namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: http-route-immich + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: web - app.kubernetes.io/part-of: {{ .Release.Name }} spec: parentRefs: - group: gateway.networking.k8s.io diff --git a/clusters/cl01tl/applications/immich/templates/persistent-volume-claim.yaml b/clusters/cl01tl/applications/immich/templates/persistent-volume-claim.yaml index 1cdc938d9..0dfa0d547 100644 --- a/clusters/cl01tl/applications/immich/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/applications/immich/templates/persistent-volume-claim.yaml @@ -4,11 +4,8 @@ metadata: name: immich-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: immich-nfs-storage + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: storage - app.kubernetes.io/part-of: {{ .Release.Name }} spec: volumeName: immich-nfs-storage storageClassName: nfs-client diff --git a/clusters/cl01tl/applications/immich/templates/persistent-volume.yaml b/clusters/cl01tl/applications/immich/templates/persistent-volume.yaml index 9a7c071c2..1ebb4364d 100644 --- a/clusters/cl01tl/applications/immich/templates/persistent-volume.yaml +++ b/clusters/cl01tl/applications/immich/templates/persistent-volume.yaml @@ -4,11 +4,8 @@ metadata: name: immich-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: immich-nfs-storage + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: storage - app.kubernetes.io/part-of: {{ .Release.Name }} spec: persistentVolumeReclaimPolicy: Retain storageClassName: nfs-client diff --git a/clusters/cl01tl/applications/immich/templates/service-monitor.yaml b/clusters/cl01tl/applications/immich/templates/service-monitor.yaml index 353c1c2f2..53f57209c 100644 --- a/clusters/cl01tl/applications/immich/templates/service-monitor.yaml +++ b/clusters/cl01tl/applications/immich/templates/service-monitor.yaml @@ -4,11 +4,8 @@ metadata: name: immich namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: immich + app.kubernetes.io/name: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - app.kubernetes.io/component: metrics - app.kubernetes.io/part-of: {{ .Release.Name }} spec: selector: matchLabels: diff --git a/clusters/cl01tl/applications/immich/values.yaml b/clusters/cl01tl/applications/immich/values.yaml index b5b028962..709170609 100644 --- a/clusters/cl01tl/applications/immich/values.yaml +++ b/clusters/cl01tl/applications/immich/values.yaml @@ -136,8 +136,6 @@ immich: gpu.intel.com/i915: 1 cpu: 10m memory: 256Mi - serviceAccount: - create: true service: main: controller: main @@ -173,13 +171,6 @@ immich: readOnly: true mountPropagation: None subPath: immich.json - media: - existingClaim: immich-nfs-storage - advancedMounts: - main: - main: - - path: /usr/src/app/upload - readOnly: false cache: storageClass: ceph-block accessMode: ReadWriteOnce @@ -190,6 +181,13 @@ immich: main: - path: /cache readOnly: false + media: + existingClaim: immich-nfs-storage + advancedMounts: + main: + main: + - path: /usr/src/app/upload + readOnly: false valkey: architecture: standalone auth: