From c90da92a27963f35314756d80c9cd3b306df7f77 Mon Sep 17 00:00:00 2001 From: tombo Date: Mon, 30 Sep 2024 12:35:26 +0200 Subject: [PATCH] fix servicemonitor --- charts/unbound/Chart.yaml | 2 +- charts/unbound/templates/servicemonitor.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/unbound/Chart.yaml b/charts/unbound/Chart.yaml index 2a80c65..a70f8dd 100644 --- a/charts/unbound/Chart.yaml +++ b/charts/unbound/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Unbound is a fast caching DNS resolver home: https://www.unbound.net/ name: unbound -version: 0.1.3 +version: 0.1.4 appVersion: 1.17.1 sources: - https://github.com/pixelfederation/unbound/ diff --git a/charts/unbound/templates/servicemonitor.yaml b/charts/unbound/templates/servicemonitor.yaml index e053300..1c5ede0 100644 --- a/charts/unbound/templates/servicemonitor.yaml +++ b/charts/unbound/templates/servicemonitor.yaml @@ -1,4 +1,4 @@ -{{- if and ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) ( and .Values.metrics.enabled .Values.serviceMonitor.enabled ) }} +{{- if and .Values.metrics.enabled .Values.serviceMonitor.enabled }} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: