diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index d33ac0e607..60e08f7d2a 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,5 +1,5 @@ name: coredns -version: 1.0.1 +version: 1.1.0 appVersion: 1.2.0 description: CoreDNS is a DNS server that chains plugins and provides Kubernetes DNS Services keywords: diff --git a/stable/coredns/templates/deployment.yaml b/stable/coredns/templates/deployment.yaml index b83678d740..80a090c5e9 100644 --- a/stable/coredns/templates/deployment.yaml +++ b/stable/coredns/templates/deployment.yaml @@ -49,6 +49,10 @@ spec: {{- if .Values.tolerations }} tolerations: {{ toYaml .Values.tolerations | indent 8 }} + {{- end }} + {{- if .Values.nodeSelector }} + nodeSelector: +{{ toYaml .Values.nodeSelector | indent 8 }} {{- end }} containers: - name: "coredns" diff --git a/stable/coredns/values.yaml b/stable/coredns/values.yaml index ee39f89a5f..405a1cac5a 100644 --- a/stable/coredns/values.yaml +++ b/stable/coredns/values.yaml @@ -76,6 +76,10 @@ servers: # - master affinity: {} +# Node labels for pod assignment +# Ref: https://kubernetes.io/docs/user-guide/node-selection/ +nodeSelector: {} + # expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core # for example: # tolerations: