Skip to content

Commit

Permalink
feat: add default toleration for all taints (#1036)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Dec 13, 2022
1 parent 3c60da7 commit 3c156ec
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
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
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
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
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

0 comments on commit 3c156ec

Please sign in to comment.