|
| 1 | +kind: ServiceAccount |
| 2 | +apiVersion: v1 |
| 3 | +metadata: |
| 4 | + name: exoscale-csi-controller |
| 5 | + namespace: kube-system |
| 6 | +--- |
| 7 | +kind: ClusterRole |
| 8 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 9 | +metadata: |
| 10 | + name: exoscale-csi-provisioner |
| 11 | +rules: |
| 12 | + - apiGroups: [""] |
| 13 | + resources: ["persistentvolumes"] |
| 14 | + verbs: ["get", "list", "watch", "delete"] |
| 15 | + - apiGroups: [""] |
| 16 | + resources: ["persistentvolumeclaims"] |
| 17 | + verbs: ["get", "list", "watch"] |
| 18 | + - apiGroups: ["storage.k8s.io"] |
| 19 | + resources: ["storageclasses"] |
| 20 | + verbs: ["get", "list", "watch"] |
| 21 | + - apiGroups: [""] |
| 22 | + resources: ["events"] |
| 23 | + verbs: ["list", "watch", "create", "patch"] |
| 24 | + - apiGroups: [""] |
| 25 | + resources: ["nodes"] |
| 26 | + verbs: ["get", "list", "watch"] |
| 27 | + - apiGroups: ["storage.k8s.io"] |
| 28 | + resources: ["csinodes"] |
| 29 | + verbs: ["get", "list", "watch"] |
| 30 | + - apiGroups: ["storage.k8s.io"] |
| 31 | + resources: ["volumeattachments", "volumeattachments/status"] |
| 32 | + verbs: ["get", "list", "watch", "update", "create", "patch"] |
| 33 | + - apiGroups: ["snapshot.storage.k8s.io"] |
| 34 | + resources: ["volumesnapshots", "volumesnapshots/status", "volumesnapshotclasses", "volumesnapshotcontents", "volumesnapshotcontents/status"] |
| 35 | + verbs: ["get", "list", "watch", "update", "create", "patch"] |
| 36 | + - apiGroups: ["coordination.k8s.io"] |
| 37 | + resources: ["leases"] |
| 38 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 39 | +--- |
| 40 | +kind: ClusterRoleBinding |
| 41 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 42 | +metadata: |
| 43 | + name: exoscale-csi-controller |
| 44 | +subjects: |
| 45 | + - kind: ServiceAccount |
| 46 | + name: exoscale-csi-controller |
| 47 | + namespace: kube-system |
| 48 | +roleRef: |
| 49 | + kind: ClusterRole |
| 50 | + name: exoscale-csi-provisioner |
| 51 | + apiGroup: rbac.authorization.k8s.io |
| 52 | +--- |
| 53 | +kind: ClusterRole |
| 54 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 55 | +metadata: |
| 56 | + name: exoscale-csi-attacher |
| 57 | +rules: |
| 58 | + - apiGroups: [""] |
| 59 | + resources: ["persistentvolumes"] |
| 60 | + verbs: ["get", "watch", "list", "update", "patch", "delete"] |
| 61 | + - apiGroups: [""] |
| 62 | + resources: ["nodes"] |
| 63 | + verbs: ["get", "watch", "list"] |
| 64 | + - apiGroups: ["storage.k8s.io"] |
| 65 | + resources: ["csinodes"] |
| 66 | + verbs: ["get", "watch", "list", "update", "patch"] |
| 67 | + - apiGroups: ["storage.k8s.io"] |
| 68 | + resources: ["volumeattachments", "volumeattachments/status"] |
| 69 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 70 | +--- |
| 71 | +kind: ClusterRoleBinding |
| 72 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 73 | +metadata: |
| 74 | + name: exoscale-csi-attacher |
| 75 | +subjects: |
| 76 | + - kind: ServiceAccount |
| 77 | + name: exoscale-csi-controller |
| 78 | + namespace: kube-system |
| 79 | +roleRef: |
| 80 | + kind: ClusterRole |
| 81 | + name: exoscale-csi-attacher |
| 82 | + apiGroup: rbac.authorization.k8s.io |
| 83 | +--- |
| 84 | +kind: ClusterRole |
| 85 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 86 | +metadata: |
| 87 | + name: exoscale-csi-snapshotter |
| 88 | +rules: |
| 89 | + - apiGroups: [""] |
| 90 | + resources: ["persistentvolumes", "persistentvolumeclaims", "events"] |
| 91 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 92 | + - apiGroups: ["storage.k8s.io"] |
| 93 | + resources: ["storageclasses"] |
| 94 | + verbs: ["get", "watch", "list"] |
| 95 | + - apiGroups: ["snapshot.storage.k8s.io"] |
| 96 | + resources: ["volumesnapshots", "volumesnapshots/status", "volumesnapshotclasses", "volumesnapshotcontents"] |
| 97 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 98 | + - apiGroups: ["apiextensions.k8s.io"] |
| 99 | + resources: ["customresourcedefinitions", "leases"] |
| 100 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 101 | + - apiGroups: ["coordination.k8s.io"] |
| 102 | + resources: ["leases"] |
| 103 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 104 | +--- |
| 105 | +kind: ClusterRoleBinding |
| 106 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 107 | +metadata: |
| 108 | + name: exoscale-csi-snapshotter |
| 109 | +subjects: |
| 110 | + - kind: ServiceAccount |
| 111 | + name: exoscale-csi-controller |
| 112 | + namespace: kube-system |
| 113 | +roleRef: |
| 114 | + kind: ClusterRole |
| 115 | + name: exoscale-csi-snapshotter |
| 116 | + apiGroup: rbac.authorization.k8s.io |
| 117 | +--- |
| 118 | +kind: ClusterRole |
| 119 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 120 | +metadata: |
| 121 | + name: external-resizer |
| 122 | +rules: |
| 123 | + - apiGroups: [""] |
| 124 | + resources: ["persistentvolumes", "persistentvolumeclaims", "persistentvolumeclaims/status"] |
| 125 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 126 | + - apiGroups: [""] |
| 127 | + resources: ["pods", "events"] |
| 128 | + verbs: ["get", "watch", "list"] |
| 129 | + - apiGroups: ["coordination.k8s.io"] |
| 130 | + resources: ["leases"] |
| 131 | + verbs: ["get", "watch", "list", "create", "update", "patch", "delete"] |
| 132 | +--- |
| 133 | +kind: ClusterRoleBinding |
| 134 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 135 | +metadata: |
| 136 | + name: csi-resizer-role |
| 137 | +subjects: |
| 138 | + - kind: ServiceAccount |
| 139 | + name: exoscale-csi-controller |
| 140 | + namespace: kube-system |
| 141 | +roleRef: |
| 142 | + kind: ClusterRole |
| 143 | + name: external-resizer |
| 144 | + apiGroup: rbac.authorization.k8s.io |
0 commit comments