From 2176a8eab5fea9c16f824434942ea401f67832ca Mon Sep 17 00:00:00 2001 From: Tomasz Nowak <1542258+kayano@users.noreply.github.com> Date: Thu, 21 Sep 2023 17:12:44 +0200 Subject: [PATCH] fix: Correct templates for service monitor (#12) --- charts/chainpulse/Chart.yaml | 2 +- charts/chainpulse/templates/serviceMonitor.yaml | 6 ++---- charts/hermes-relayer/Chart.yaml | 2 +- charts/hermes-relayer/templates/serviceMonitor.yaml | 6 ++---- charts/relayer-exporter/Chart.yaml | 2 +- charts/relayer-exporter/templates/serviceMonitor.yaml | 6 ++---- 6 files changed, 9 insertions(+), 15 deletions(-) diff --git a/charts/chainpulse/Chart.yaml b/charts/chainpulse/Chart.yaml index 36dceda..8291e01 100644 --- a/charts/chainpulse/Chart.yaml +++ b/charts/chainpulse/Chart.yaml @@ -3,5 +3,5 @@ apiVersion: v2 name: chainpulse description: A Helm chart for chainpulse type: application -version: 0.1.1 +version: 0.1.2 appVersion: 0.3.2 diff --git a/charts/chainpulse/templates/serviceMonitor.yaml b/charts/chainpulse/templates/serviceMonitor.yaml index bbba39d..d744949 100644 --- a/charts/chainpulse/templates/serviceMonitor.yaml +++ b/charts/chainpulse/templates/serviceMonitor.yaml @@ -26,12 +26,10 @@ spec: scrapeTimeout: {{ . }} {{- end }} {{- if .Values.serviceMonitor.metricRelabelings }} - metricRelabelings: - {{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }} + metricRelabelings: {{ toYaml .Values.serviceMonitor.metricRelabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.relabelings }} - relabelings: - {{ toYaml .Values.serviceMonitor.relabelings | nindent 4 }} + relabelings: {{ toYaml .Values.serviceMonitor.relabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.targetLabels }} targetLabels: diff --git a/charts/hermes-relayer/Chart.yaml b/charts/hermes-relayer/Chart.yaml index 7f373c6..3268a85 100644 --- a/charts/hermes-relayer/Chart.yaml +++ b/charts/hermes-relayer/Chart.yaml @@ -3,5 +3,5 @@ apiVersion: v2 name: hermes-relayer description: A Helm chart for Kubernetes type: application -version: 1.3.2 +version: 1.3.3 appVersion: 1.6.0 diff --git a/charts/hermes-relayer/templates/serviceMonitor.yaml b/charts/hermes-relayer/templates/serviceMonitor.yaml index 757117f..c68a73a 100644 --- a/charts/hermes-relayer/templates/serviceMonitor.yaml +++ b/charts/hermes-relayer/templates/serviceMonitor.yaml @@ -27,12 +27,10 @@ spec: scrapeTimeout: {{ . }} {{- end }} {{- if .Values.serviceMonitor.metricRelabelings }} - metricRelabelings: - {{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }} + metricRelabelings: {{ toYaml .Values.serviceMonitor.metricRelabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.relabelings }} - relabelings: - {{ toYaml .Values.serviceMonitor.relabelings | nindent 4 }} + relabelings: {{ toYaml .Values.serviceMonitor.relabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.targetLabels }} targetLabels: diff --git a/charts/relayer-exporter/Chart.yaml b/charts/relayer-exporter/Chart.yaml index b95311f..ba998dc 100644 --- a/charts/relayer-exporter/Chart.yaml +++ b/charts/relayer-exporter/Chart.yaml @@ -3,5 +3,5 @@ apiVersion: v2 name: relayer-exporter description: A Helm chart for relayer_exporter type: application -version: 0.2.2 +version: 0.2.3 appVersion: 0.6.0 diff --git a/charts/relayer-exporter/templates/serviceMonitor.yaml b/charts/relayer-exporter/templates/serviceMonitor.yaml index 8b1faf9..a3a399e 100644 --- a/charts/relayer-exporter/templates/serviceMonitor.yaml +++ b/charts/relayer-exporter/templates/serviceMonitor.yaml @@ -26,12 +26,10 @@ spec: scrapeTimeout: {{ . }} {{- end }} {{- if .Values.serviceMonitor.metricRelabelings }} - metricRelabelings: - {{ toYaml .Values.serviceMonitor.metricRelabelings | indent 4 }} + metricRelabelings: {{ toYaml .Values.serviceMonitor.metricRelabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.relabelings }} - relabelings: - {{ toYaml .Values.serviceMonitor.relabelings | nindent 4 }} + relabelings: {{ toYaml .Values.serviceMonitor.relabelings | nindent 6 }} {{- end }} {{- if .Values.serviceMonitor.targetLabels }} targetLabels: