[all] Fix PrometheusRule and ServiceMonitor after Common upgrade

This commit is contained in:
2022-08-29 08:07:11 +01:00
parent 1b7d8fd3e2
commit 396816c4a0
15 changed files with 15 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: A prometheus exporter for generic MQTT metrics
name: mqtt-exporter
version: 1.1.1
version: 1.1.2
kubeVersion: ">=1.16.0-0"
keywords:
- mqtt-exporter

View File

@@ -1,4 +1,5 @@
{{- if and .Values.metrics.enabled .Values.metrics.prometheusRule.enabled }}
{{- include "common.values.setup" . -}}
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:

View File

@@ -1,4 +1,5 @@
{{- if .Values.metrics.enabled }}
{{- include "common.values.setup" . -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata: