Skip to content

Commit

Permalink
Merge pull request #258 from inteon/set_node_selector
Browse files Browse the repository at this point in the history
Helm: set linux nodeSelector by default
  • Loading branch information
cert-manager-prow[bot] authored May 13, 2024
2 parents 0444845 + 10d7e70 commit 2ad2e89
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
8 changes: 2 additions & 6 deletions deploy/charts/csi-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,11 @@ resources:
#### **nodeSelector** ~ `object`
> Default value:
> ```yaml
> {}
> kubernetes.io/os: linux
> ```

Kubernetes node selector: node labels for pod assignment. For example, use this to allow scheduling of DaemonSet on linux nodes only:
Kubernetes node selector: node labels for pod assignment.

```yaml
nodeSelector:
kubernetes.io/os: linux
```
#### **affinity** ~ `object`
> Default value:
> ```yaml
Expand Down
6 changes: 4 additions & 2 deletions deploy/charts/csi-driver/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,10 @@
"type": "string"
},
"helm-values.nodeSelector": {
"default": {},
"description": "Kubernetes node selector: node labels for pod assignment. For example, use this to allow scheduling of DaemonSet on linux nodes only:\nnodeSelector:\n kubernetes.io/os: linux",
"default": {
"kubernetes.io/os": "linux"
},
"description": "Kubernetes node selector: node labels for pod assignment.",
"type": "object"
},
"helm-values.podAnnotations": {
Expand Down
7 changes: 3 additions & 4 deletions deploy/charts/csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ podLabels: {}
resources: {}

# Kubernetes node selector: node labels for pod assignment.
# For example, use this to allow scheduling of DaemonSet on linux nodes only:
# nodeSelector:
# kubernetes.io/os: linux
nodeSelector: {}
# +docs:property=nodeSelector
nodeSelector:
kubernetes.io/os: linux

# Kubernetes affinity: constraints for pod assignment.
#
Expand Down

0 comments on commit 2ad2e89

Please sign in to comment.