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: .