Skip to content

Commit 86766a9

Browse files
authored
Merge pull request #636 from chewong/patch-azure-file
🐛 add ClusterRole and ClusterRoleBinding for Azure File
2 parents fc0a458 + fac0558 commit 86766a9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
name: system:azure-file
6+
rules:
7+
- apiGroups: [""]
8+
resources: ["secrets"]
9+
verbs: ["get", "create"]
10+
---
11+
apiVersion: rbac.authorization.k8s.io/v1beta1
12+
kind: ClusterRoleBinding
13+
metadata:
14+
name: system:azure-file
15+
roleRef:
16+
kind: ClusterRole
17+
apiGroup: rbac.authorization.k8s.io
18+
name: system:azure-file
19+
subjects:
20+
- kind: ServiceAccount
21+
name: persistent-volume-binder
22+
namespace: kube-system

0 commit comments

Comments
 (0)