Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add default toleration for all taints #1036

Merged
merged 1 commit into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
| `linux.image.pullPolicy` | Linux image pull policy | `IfNotPresent` |
| `linux.image.tag` | Azure Keyvault Provider Linux image tag | `v1.3.0` |
| `linux.nodeSelector` | Node Selector for the daemonset on linux nodes | `{}` |
| `linux.tolerations` | Tolerations for the daemonset on linux nodes | `{}` |
| `linux.tolerations` | Tolerations for the daemonset on linux nodes | `[{"operator": "Exists"}]` |
| `linux.resources` | Resource limit for provider pods on linux nodes | `requests.cpu: 50m`<br>`requests.memory: 100Mi`<br>`limits.cpu: 50m`<br>`limits.memory: 100Mi` |
| `linux.podLabels` | Additional pod labels | `{}` |
| `linux.podAnnotations` | Additional pod annotations | `{}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ linux:
tag: v1.3.0
pullPolicy: IfNotPresent
nodeSelector: {}
tolerations: []
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# An empty key with operator Exists matches all keys, values and effects which means this will tolerate everything.
tolerations:
- operator: Exists
enabled: true
resources:
requests:
Expand Down Expand Up @@ -63,7 +66,10 @@ windows:
tag: v1.3.0
pullPolicy: IfNotPresent
nodeSelector: {}
tolerations: []
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
# An empty key with operator Exists matches all keys, values and effects which means this will tolerate everything.
tolerations:
- operator: Exists
enabled: false
resources:
requests:
Expand Down Expand Up @@ -153,7 +159,7 @@ secrets-store-csi-driver:
rotationPollInterval: 2m
# Refer to https://secrets-store-csi-driver.sigs.k8s.io/load-tests.html for more details on actions to take before enabling this feature
filteredWatchSecret: true

syncSecret:
enabled: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ spec:
hostPath:
path: "C:\\k\\secrets-store-csi-providers"
type: DirectoryOrCreate
tolerations:
- operator: Exists
nodeSelector:
kubernetes.io/os: windows
2 changes: 2 additions & 0 deletions manifest_staging/deployment/provider-azure-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,7 @@ spec:
- name: providervol
hostPath:
path: "/var/run/secrets-store-csi-providers"
tolerations:
- operator: Exists
nodeSelector:
kubernetes.io/os: linux