diff --git a/stable/node-local-dns/Chart.yaml b/stable/node-local-dns/Chart.yaml index eda3e438..bca9542e 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.1.1 +version: 2.1.2 appVersion: 1.23.1 maintainers: - name: gabrieladt diff --git a/stable/node-local-dns/README.md b/stable/node-local-dns/README.md index 2c686f61..50ae6510 100644 --- a/stable/node-local-dns/README.md +++ b/stable/node-local-dns/README.md @@ -1,6 +1,6 @@ # node-local-dns -![Version: 2.1.1](https://img.shields.io/badge/Version-2.1.1-informational?style=flat-square) ![AppVersion: 1.23.1](https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square) +![Version: 2.1.2](https://img.shields.io/badge/Version-2.1.2-informational?style=flat-square) ![AppVersion: 1.23.1](https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square) A chart to install node-local-dns. @@ -23,7 +23,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-local-d To install a specific version of this chart: ```console -helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-local-dns --version 2.1.1 +helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-local-dns --version 2.1.2 ``` To install the chart with the release name `my-release`: @@ -63,6 +63,8 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-local-dns -f | config.setupInterface | bool | `true` | | | config.setupIptables | bool | `true` | | | config.skipTeardown | bool | `false` | | +| configMapAnnotations | object | `{}` | | +| configMapLabels | object | `{}` | | | daemonsetAnnotations | object | `{}` | | | daemonsetLabels | object | `{}` | | | dashboard | object | `{"annotations":{},"enabled":false,"label":"grafana_dashboard","namespace":"kube-system"}` | https://github.com/grafana/helm-charts/blob/main/charts/grafana/README.md | diff --git a/stable/node-local-dns/templates/configmap.yaml b/stable/node-local-dns/templates/configmap.yaml index 11ec215c..54c137f2 100644 --- a/stable/node-local-dns/templates/configmap.yaml +++ b/stable/node-local-dns/templates/configmap.yaml @@ -3,9 +3,15 @@ kind: ConfigMap metadata: name: {{ include "node-local-dns.fullname" . }} namespace: kube-system + {{- with .Values.configMapAnnotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} labels: - addonmanager.kubernetes.io/mode: Reconcile {{- include "node-local-dns.labels" . | nindent 4 }} + {{- with .Values.configMapLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} data: Corefile: | {{- if .Values.config.customConfig -}} diff --git a/stable/node-local-dns/values.yaml b/stable/node-local-dns/values.yaml index 30905567..0ac2d296 100644 --- a/stable/node-local-dns/values.yaml +++ b/stable/node-local-dns/values.yaml @@ -67,6 +67,10 @@ podAnnotations: {} podLabels: {} +configMapAnnotations: {} + +configMapLabels: {} + daemonsetAnnotations: {} daemonsetLabels: {}