From 975125e2e019836853e54b7e20ebdbdf5e37212a Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 6 Apr 2024 21:27:07 +0200 Subject: [PATCH] fix: labels and selectors on ntfy --- charts/ntfy-sh/Chart.yaml | 2 +- charts/ntfy-sh/templates/deployment-server.yaml | 6 +++--- charts/ntfy-sh/templates/service-server.yaml | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/charts/ntfy-sh/Chart.yaml b/charts/ntfy-sh/Chart.yaml index 1fd33d3..74f2b3b 100644 --- a/charts/ntfy-sh/Chart.yaml +++ b/charts/ntfy-sh/Chart.yaml @@ -4,7 +4,7 @@ description: | ntfy lets you send push notifications to your phone or desktop via scripts from any computer appVersion: v2.10.0 type: application -version: 0.1.2 +version: 0.1.3 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/ntfy-sh/templates/deployment-server.yaml b/charts/ntfy-sh/templates/deployment-server.yaml index 665f2b0..4f2baae 100644 --- a/charts/ntfy-sh/templates/deployment-server.yaml +++ b/charts/ntfy-sh/templates/deployment-server.yaml @@ -4,15 +4,15 @@ metadata: name: {{ include "ntfy.fullname" . }} labels: {{- include "ntfy.labels" . | nindent 4 }} - app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server +spec: replicas: 1 selector: matchLabels: - app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server + app: {{ include "ntfy.fullname" . }}-server template: metadata: labels: - app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server + app: {{ include "ntfy.fullname" . }}-server spec: serviceAccountName: {{ include "ntfy.fullname" . }} containers: diff --git a/charts/ntfy-sh/templates/service-server.yaml b/charts/ntfy-sh/templates/service-server.yaml index f682c9c..e62121e 100644 --- a/charts/ntfy-sh/templates/service-server.yaml +++ b/charts/ntfy-sh/templates/service-server.yaml @@ -5,7 +5,6 @@ metadata: name: {{ include "ntfy.fullname" . }}-server labels: {{- include "ntfy.labels" . | nindent 4 }} - app.kubernetes.io/component: {{ include "ntfy.fullname" . }}-server spec: selector: app: {{ include "ntfy.fullname" . }}-server