mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/coredns] allow nodeselector configuration (#7766)
Signed-off-by: Chris Randles <randles.chris@gmail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
2c7d471057
commit
3238772aaf
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user