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