From 1b7fae5330678b2f1b9853a12779b800fa3b434a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cayeshasiddiqa161=E2=80=9D?= Date: Fri, 18 Aug 2023 18:11:13 +0500 Subject: [PATCH 1/2] Fixed namespace selector --- application/templates/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/templates/servicemonitor.yaml b/application/templates/servicemonitor.yaml index b2e09bdf..ae4b8ef5 100644 --- a/application/templates/servicemonitor.yaml +++ b/application/templates/servicemonitor.yaml @@ -21,7 +21,7 @@ spec: {{ include "application.labels" . | indent 6 }} namespaceSelector: matchNames: - - {{ .Release.Namespace }} + - {{ include "application.namespace" . }} endpoints: {{ toYaml .Values.serviceMonitor.endpoints | indent 4 }} {{- end }} From af25995684e8be09c9899b45a5ceac156867b082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cayeshasiddiqa161=E2=80=9D?= Date: Fri, 18 Aug 2023 18:29:06 +0500 Subject: [PATCH 2/2] updated changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7cc9480..9164c1a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented here. +### v2.2.5 +- fix: Namespace selector fixed for service monitor [PR-270](https://github.com/stakater/application/pull/270) + ### v2.2.4 - fix: Matchlabel fixed for service monitor [PR-269](https://github.com/stakater/application/pull/269)