From fe7b03c8d7dfde2b0a0befb1f7a76fdc5723b5f9 Mon Sep 17 00:00:00 2001 From: Steven Wade Date: Tue, 30 Apr 2019 22:26:57 +0100 Subject: [PATCH] Allowing the specification of a in the CoreDNS helm chart. (#13416) Signed-off-by: Steven Wade --- stable/coredns/Chart.yaml | 4 ++-- stable/coredns/templates/deployment.yaml | 3 +++ stable/coredns/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/stable/coredns/Chart.yaml b/stable/coredns/Chart.yaml index 6c98d66cbd..75fc6a755d 100644 --- a/stable/coredns/Chart.yaml +++ b/stable/coredns/Chart.yaml @@ -1,6 +1,6 @@ name: coredns -version: 1.5.0 -appVersion: 1.5.0 +version: 1.5.1 +appVersion: 1.5.1 description: CoreDNS is a DNS server that chains plugins and provides Kubernetes DNS Services keywords: - coredns diff --git a/stable/coredns/templates/deployment.yaml b/stable/coredns/templates/deployment.yaml index db0ba5e68f..afd16c2e8f 100644 --- a/stable/coredns/templates/deployment.yaml +++ b/stable/coredns/templates/deployment.yaml @@ -37,6 +37,9 @@ spec: {{- end }} spec: serviceAccountName: {{ template "coredns.serviceAccountName" . }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName | quote }} + {{- end }} {{- if .Values.isClusterService }} dnsPolicy: Default {{- end }} diff --git a/stable/coredns/values.yaml b/stable/coredns/values.yaml index 5dfc2e9aba..e8fc5475da 100644 --- a/stable/coredns/values.yaml +++ b/stable/coredns/values.yaml @@ -45,6 +45,9 @@ rbac: # isClusterService specifies whether chart should be deployed as cluster-service or normal k8s app. isClusterService: true +# Optional priority class to be used for the coredns pods +priorityClassName: "" + servers: - zones: - zone: .