From 678aa8d3ac91b72f949f2f00cef2ebca8054fae8 Mon Sep 17 00:00:00 2001 From: Rouke Broersma Date: Sat, 14 Dec 2024 07:45:28 +0100 Subject: [PATCH] immich: Fix database topolog spread match labels (#138) * immich: Fix database topolog spread match labels * fix indent * fix labels * Update Chart.yaml --- charts/immich/Chart.yaml | 2 +- charts/immich/templates/database/database.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/immich/Chart.yaml b/charts/immich/Chart.yaml index c65a674..6b0ca88 100644 --- a/charts/immich/Chart.yaml +++ b/charts/immich/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: immich -version: 3.0.1 +version: 3.0.2 home: https://immich.app sources: diff --git a/charts/immich/templates/database/database.yaml b/charts/immich/templates/database/database.yaml index ea0e911..f96d8e2 100644 --- a/charts/immich/templates/database/database.yaml +++ b/charts/immich/templates/database/database.yaml @@ -52,7 +52,7 @@ spec: whenUnsatisfiable: {{ .whenUnsatisfiable }} labelSelector: matchLabels: - app.kubernetes.io/component: "db" - {{- include "common.labels" $ | nindent 8 }} + "cnpg.io/cluster": {{ $.Values.database.clusterName }} + "cnpg.io/podRole": instance + {{- end }} {{- end }} - {{- end }} \ No newline at end of file