diff --git a/node-dns-exporter/Chart.yaml b/node-dns-exporter/Chart.yaml index 786f347..d2dff78 100644 --- a/node-dns-exporter/Chart.yaml +++ b/node-dns-exporter/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "main-6bd7880c" +appVersion: "main-ced69cea" diff --git a/node-dns-exporter/templates/daemonset.yaml b/node-dns-exporter/templates/daemonset.yaml index 72fda0b..2ca4f97 100644 --- a/node-dns-exporter/templates/daemonset.yaml +++ b/node-dns-exporter/templates/daemonset.yaml @@ -48,6 +48,12 @@ spec: - "--listen-address={{ .Values.nodeDns.listenAddress | default "0.0.0.0:8080" }}" - "--test-hosts={{ .Values.nodeDns.testHosts }}" - "--test-interval-seconds={{ .Values.nodeDns.testInterval | default 120 }}" + - "--node-name={{ .Values.nodeDns.nodeName | default "$(NODE_NAME)" }}" + env: + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}