diff --git a/charts/vcluster/Chart.yaml b/charts/vcluster/Chart.yaml index 1656701d..4265069d 100644 --- a/charts/vcluster/Chart.yaml +++ b/charts/vcluster/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: vcluster description: Virtual Kubernetes Cluster type: application -version: 0.5.3 +version: 0.5.4 appVersion: 0.1.0 keywords: - vcluster diff --git a/charts/vcluster/README.md b/charts/vcluster/README.md index 33f2f3a3..bd6fa6b5 100644 --- a/charts/vcluster/README.md +++ b/charts/vcluster/README.md @@ -2,7 +2,7 @@ __This Chart is under active development! We try to improve documentation and values consistency over time__ -![Version: 0.5.3](https://img.shields.io/badge/Version-0.5.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.5.4](https://img.shields.io/badge/Version-0.5.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Virtual Kubernetes Cluster diff --git a/charts/vcluster/manifests/kubernetes/coredns.yaml b/charts/vcluster/manifests/kubernetes/coredns.yaml index 7c903a2e..98933954 100644 --- a/charts/vcluster/manifests/kubernetes/coredns.yaml +++ b/charts/vcluster/manifests/kubernetes/coredns.yaml @@ -135,22 +135,15 @@ spec: {{- end }} priorityClassName: {{ $kubernetes.coredns.priorityClassName }} serviceAccountName: coredns + {{- with $kubernetes.coredns.affinity }} affinity: - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 100 - podAffinityTerm: - labelSelector: - matchExpressions: - - key: k8s-app - operator: In - values: ["kube-dns"] - topologyKey: kubernetes.io/hostname - {{- with $kubernetes.coredns.tolerations }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with $kubernetes.coredns.tolerations }} tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- with $kubernetes.coredns.nodeSelector }} + {{- with $kubernetes.coredns.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }}