Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
This reverts commit 800ae6d.
  • Loading branch information
hswong3i committed Dec 20, 2019
1 parent 800ae6d commit 5551092
Showing 1 changed file with 1 addition and 58 deletions.
59 changes: 1 addition & 58 deletions templates/etc/kubernetes/addons/cephfs-provisioner.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cephfs-provisioner
namespace: cephfs-provisioner
labels:
app.kubernetes.io/name: cephfs-provisioner
app.kubernetes.io/part-of: cephfs-provisioner
Expand All @@ -96,64 +97,6 @@ rules:
resources: ["secrets"]
verbs: ["get", "create", "delete"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:csi-external-attacher
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
labels:
app.kubernetes.io/name: cephfs-provisioner
app.kubernetes.io/part-of: cephfs-provisioner
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/bootstrapping: rbac-defaults
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "patch", "update", "watch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "patch", "update", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "get", "list", "patch", "update", "watch"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:csi-external-provisioner
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
labels:
app.kubernetes.io/name: cephfs-provisioner
app.kubernetes.io/part-of: cephfs-provisioner
addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/bootstrapping: rbac-defaults
rules:
- apiGroups: [""]
resources:["persistentvolumes"]
verbs: ["create", "delete", "get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "patch", "update", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "get", "list", "patch", "update", "watch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["csinodes"]
verbs: ["get", "list", "watch"]

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down

0 comments on commit 5551092

Please sign in to comment.