Skip to content

Commit faf69fd

Browse files
authored
Merge pull request #475 from verult/linux-node-selector
Adding linux node selector; adding new volumeattachment RBAC rule
2 parents 14f80ef + 6f443f8 commit faf69fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

deploy/kubernetes/base/node.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ spec:
6767
mountPath: /run/udev
6868
- name: sys
6969
mountPath: /sys
70+
nodeSelector:
71+
kubernetes.io/os: linux
7072
volumes:
7173
- name: registration-dir
7274
hostPath:

deploy/kubernetes/base/setup-cluster.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ rules:
7070
- apiGroups: ["storage.k8s.io"]
7171
resources: ["volumeattachments"]
7272
verbs: ["get", "list", "watch", "update", "patch"]
73-
73+
- apiGroups: ["storage.k8s.io"]
74+
resources: ["volumeattachments/status"]
75+
verbs: ["patch"]
7476
---
7577

7678
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)