Skip to content

Commit

Permalink
[stable/node-local-dns]: fix promethues scraping optional for ds.
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-descope committed Oct 17, 2023
1 parent 6f09806 commit 723bcd9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/node-local-dns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/node-local-dns/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion stable/node-local-dns/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 723bcd9

Please sign in to comment.