diff --git a/README.md b/README.md index 70d45398..e31a924c 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ The following command can be used to install kubenurse with Helm: `helm upgrade | daemonset.podSecurityContext | The security context of the daemonset | {} | daemonset.containerSecurityContext| The security context of the containers within the pods of the daemonset | {} | daemonset.tolerations | The tolerations of the daemonset | - effect: NoSchedule
  key: node-role.kubernetes.io/master
  operator: Equal
- effect: NoSchedule
  key: node-role.kubernetes.io/control-plane
  operator: Equal
+| daemonset.dnsConfig | Specifies the DNS parameters of the pods in the daemonset | {} | | daemonset.volumeMounts | Additional volumeMounts to be added to the pods of the daemonset | [] | | daemonset.volumes | Additional volumes to be added to the daemonset | [] | | namespace | The namespace where kubenurse will be deployed | kube-system | diff --git a/helm/kubenurse/templates/daemonset.yaml b/helm/kubenurse/templates/daemonset.yaml index 38701d61..dc6ba092 100644 --- a/helm/kubenurse/templates/daemonset.yaml +++ b/helm/kubenurse/templates/daemonset.yaml @@ -76,6 +76,10 @@ spec: {{- if .Values.daemonset.tolerations }} {{- toYaml .Values.daemonset.tolerations | nindent 6 }} {{- end }} + dnsConfig: + {{- if .Values.daemonset.dnsConfig }} + {{- toYaml .Values.daemonset.dnsConfig | nindent 8 }} + {{- end }} volumes: {{- if .Values.daemonset.volumes -}} {{- toYaml .Values.daemonset.volumes | nindent 6 }} diff --git a/helm/kubenurse/values.yaml b/helm/kubenurse/values.yaml index 4c9490fb..c6f104fb 100644 --- a/helm/kubenurse/values.yaml +++ b/helm/kubenurse/values.yaml @@ -14,6 +14,7 @@ daemonset: - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Equal + dnsConfig: {} volumeMounts: [] volumes: []