Toleration fix for helm chart and yaml.
This commit is contained in:
parent
52b29e1725
commit
0d5ac0b120
3 changed files with 20 additions and 0 deletions
deploy
|
@ -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:
|
||||
|
|
|
@ -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
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue