From 0c4540f74570b7e9e643793032225c6497134c1b Mon Sep 17 00:00:00 2001 From: ns212 Date: Wed, 29 Nov 2023 10:55:05 +0000 Subject: [PATCH] interbtc-parachain: add servicemonitor labels --- charts/interbtc-parachain/Chart.yaml | 2 +- charts/interbtc-parachain/templates/servicemonitor.yaml | 4 +++- charts/interbtc-parachain/templates/statefulset.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/interbtc-parachain/Chart.yaml b/charts/interbtc-parachain/Chart.yaml index 815240f..c7da2d3 100644 --- a/charts/interbtc-parachain/Chart.yaml +++ b/charts/interbtc-parachain/Chart.yaml @@ -3,7 +3,7 @@ description: Helm chart for PolkaBTC type: application apiVersion: v2 -version: 0.4.12 +version: 0.4.13 appVersion: 2.0.0 home: https://interlay.io/ diff --git a/charts/interbtc-parachain/templates/servicemonitor.yaml b/charts/interbtc-parachain/templates/servicemonitor.yaml index 3be63b5..34352f3 100644 --- a/charts/interbtc-parachain/templates/servicemonitor.yaml +++ b/charts/interbtc-parachain/templates/servicemonitor.yaml @@ -12,6 +12,8 @@ spec: namespaceSelector: matchNames: - {{ .Release.Namespace }} + targetLabels: + - parachain endpoints: - port: metrics -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/interbtc-parachain/templates/statefulset.yaml b/charts/interbtc-parachain/templates/statefulset.yaml index 3a94e5d..71d65cf 100644 --- a/charts/interbtc-parachain/templates/statefulset.yaml +++ b/charts/interbtc-parachain/templates/statefulset.yaml @@ -205,4 +205,4 @@ spec: {{- else }} - name: {{ .Chart.Name }}-state emptyDir: {} -{{- end }} \ No newline at end of file +{{- end }}