[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

@@ -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: