Toleration fix for helm chart and yaml.

This commit is contained in:
Andrei Volkov 2022-08-05 02:13:40 +03:00
parent 52b29e1725
commit 0d5ac0b120
3 changed files with 20 additions and 0 deletions
deploy
helm
kubernetes

View file

@ -52,6 +52,15 @@ spec:
labels:
app: csi-s3
spec:
{{- if .Values.tolerations.create }}
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
{{- end }}
serviceAccount: csi-s3
hostNetwork: true
containers:

View file

@ -37,3 +37,7 @@ secret:
secretKey: ""
# Endpoint
endpoint: https://storage.yandexcloud.net
tolerations:
# Specifies whether the tolerations for Yandex Cloud should be created (CriticalAddonsOnly)
create: true

View file

@ -52,6 +52,13 @@ spec:
labels:
app: csi-s3
spec:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoExecute
operator: Exists
- effect: NoSchedule
operator: Exists
serviceAccount: csi-s3
hostNetwork: true
containers: