diff --git a/charts/drill/Chart.yaml b/charts/drill/Chart.yaml index 33e47aa..74b891f 100644 --- a/charts/drill/Chart.yaml +++ b/charts/drill/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: drill -version: 1.2.11 +version: 1.2.12 appVersion: 1.21.1 description: Helm Charts for deploying Apache Drill Clusters on Kubernetes icon: https://raw.githubusercontent.com/wearefrank/charts/master/charts/drill/icon.svg diff --git a/charts/drill/templates/statefulset.yaml b/charts/drill/templates/statefulset.yaml index 5842372..02d5a08 100644 --- a/charts/drill/templates/statefulset.yaml +++ b/charts/drill/templates/statefulset.yaml @@ -24,16 +24,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + {{- with .Values.affinity }} affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - drill-app - topologyKey: "kubernetes.io/hostname" + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.image.pullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}