Skip to content

Commit

Permalink
feat(helm): add dnsConfig option (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Djurdjevic <[email protected]>
  • Loading branch information
zbindenren and djboris9 authored Oct 24, 2022
1 parent 986d3dc commit 3fed269
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | <code>- effect: NoSchedule </br>&nbsp; key: node-role.kubernetes.io/master</br>&nbsp; operator: Equal </br>- effect: NoSchedule </br>&nbsp; key: node-role.kubernetes.io/control-plane</br>&nbsp; operator: Equal</code>
| 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 |
Expand Down
4 changes: 4 additions & 0 deletions helm/kubenurse/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions helm/kubenurse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ daemonset:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Equal
dnsConfig: {}
volumeMounts: []
volumes: []

Expand Down

0 comments on commit 3fed269

Please sign in to comment.