Skip to content

Commit 2fc1fd0

Browse files
authored
Merge pull request #503 from ronballesteros/tolerations-fix
Tolerations fix for deployment template
2 parents dd991b6 + a7ca7bb commit 2fc1fd0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

deploy/kubernetes/helm/sloth/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ description: Base chart for Sloth.
44
type: application
55
home: https://github.com/slok/sloth
66
kubeVersion: ">= 1.19.0-0"
7-
version: 0.7.0
7+
version: 0.7.1

deploy/kubernetes/helm/sloth/templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
securityContext:
2828
{{- toYaml . | nindent 8 }}
2929
{{- end }}
30+
{{- with .Values.tolerations }}
31+
tolerations:
32+
{{ toYaml . | trim | indent 8 }}
33+
{{- end }}
3034
containers:
3135
- name: sloth
3236
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
@@ -86,10 +90,6 @@ spec:
8690
{{- end }}
8791
resources:
8892
{{- toYaml .Values.resources | nindent 12 }}
89-
{{- with .Values.tolerations }}
90-
tolerations:
91-
{{ toYaml . | trim | indent 12 }}
92-
{{- end }}
9393
{{- if .Values.commonPlugins.enabled }}
9494
- name: git-sync-plugins
9595
image: {{ .Values.commonPlugins.image.repository }}:{{ .Values.commonPlugins.image.tag }}

0 commit comments

Comments
 (0)