diff --git a/stable/node-local-dns/Chart.yaml b/stable/node-local-dns/Chart.yaml index 9b301bda..b63f2b41 100644 --- a/stable/node-local-dns/Chart.yaml +++ b/stable/node-local-dns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: node-local-dns -version: 2.0.2 +version: 2.0.3 appVersion: 1.22.23 maintainers: - name: gabrieladt diff --git a/stable/node-local-dns/README.md b/stable/node-local-dns/README.md index 03194e70..05fae994 100644 --- a/stable/node-local-dns/README.md +++ b/stable/node-local-dns/README.md @@ -1,6 +1,6 @@ # node-local-dns -![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![AppVersion: 1.22.23](https://img.shields.io/badge/AppVersion-1.22.23-informational?style=flat-square) +![Version: 2.0.3](https://img.shields.io/badge/Version-2.0.3-informational?style=flat-square) ![AppVersion: 1.22.23](https://img.shields.io/badge/AppVersion-1.22.23-informational?style=flat-square) A chart to install node-local-dns. diff --git a/stable/node-local-dns/templates/daemonset.yaml b/stable/node-local-dns/templates/daemonset.yaml index d391fbd7..67eda105 100644 --- a/stable/node-local-dns/templates/daemonset.yaml +++ b/stable/node-local-dns/templates/daemonset.yaml @@ -29,7 +29,7 @@ spec: {{- if or .Values.podAnnotations (not .Values.serviceMonitor.enabled) }} annotations: {{- end }} - {{- if not .Values.serviceMonitor.enabled }} + {{- if and (not .Values.serviceMonitor.enabled) .Values.prometheusScraping.enabled }} prometheus.io/port: "9253" prometheus.io/scrape: "true" {{- end }}