diff --git a/deploy/kubernetes/helm/sloth/Chart.yaml b/deploy/kubernetes/helm/sloth/Chart.yaml index b1250cfc..597651e7 100644 --- a/deploy/kubernetes/helm/sloth/Chart.yaml +++ b/deploy/kubernetes/helm/sloth/Chart.yaml @@ -4,4 +4,4 @@ description: Base chart for Sloth. type: application home: https://github.com/slok/sloth kubeVersion: ">= 1.19.0-0" -version: 0.7.0 +version: 0.7.1 diff --git a/deploy/kubernetes/helm/sloth/templates/deployment.yaml b/deploy/kubernetes/helm/sloth/templates/deployment.yaml index f4b75491..276e7fc8 100644 --- a/deploy/kubernetes/helm/sloth/templates/deployment.yaml +++ b/deploy/kubernetes/helm/sloth/templates/deployment.yaml @@ -27,6 +27,10 @@ spec: securityContext: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.tolerations }} + tolerations: +{{ toYaml . | trim | indent 8 }} + {{- end }} containers: - name: sloth image: {{ .Values.image.repository }}:{{ .Values.image.tag }} @@ -86,10 +90,6 @@ spec: {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} - {{- with .Values.tolerations }} - tolerations: -{{ toYaml . | trim | indent 12 }} - {{- end }} {{- if .Values.commonPlugins.enabled }} - name: git-sync-plugins image: {{ .Values.commonPlugins.image.repository }}:{{ .Values.commonPlugins.image.tag }}