forked from ceph/ceph-csi-operator
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving the csi RBAC to a new folder which can be build and applied differently and we dont need to have same namePrefix and namespacePrefix for these files as this is not required to be deployed in the same namespace as the operator. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
- Loading branch information
Showing
31 changed files
with
91 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...c/csi_cephfs_ctrlplugin_cluster_role.yaml → ...-rbac/cephfs_ctrlplugin_cluster_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
..._rbd_nodeplugin_cluster_role_binding.yaml → ...phfs_ctrlplugin_cluster_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-rbd-nodeplugin-crb | ||
name: cephfs-ctrlplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-rbd-nodeplugin-sa | ||
name: cephfs-ctrlplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: csi-rbd-nodeplugin-cr | ||
name: cephfs-ctrlplugin-cr | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
config/rbac/csi_cephfs_ctrlplugin_role.yaml → config/csi-rbac/cephfs_ctrlplugin_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...rbac/csi_rbd_ctrlplugin_role_binding.yaml → ...-rbac/cephfs_ctrlplugin_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-rbd-ctrlplugin-rb | ||
name: cephfs-ctrlplugin-rb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-rbd-ctrlplugin-sa | ||
name: cephfs-ctrlplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: Role | ||
name: csi-rbd-ctrlplugin-r | ||
name: cephfs-ctrlplugin-r | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
...c/csi_rbd_ctrlplugin_service_account.yaml → ...ac/cephfs_ctrlplugin_service_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: csi-rbd-ctrlplugin-sa | ||
name: cephfs-ctrlplugin-sa | ||
namespace: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
..._rbd_ctrlplugin_cluster_role_binding.yaml → ...phfs_nodeplugin_cluster_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-rbd-ctrlplugin-crb | ||
name: cephfs-nodeplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-rbd-ctrlplugin-sa | ||
name: cephfs-nodeplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: csi-rbd-ctrlplugin-cr | ||
name: cephfs-nodeplugin-cr | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
...c/csi_rbd_nodeplugin_service_account.yaml → ...ac/cephfs_nodeplugin_service_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: csi-rbd-nodeplugin-sa | ||
name: cephfs-nodeplugin-sa | ||
namespace: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
resources: | ||
# CSI operands have their own set of RBAC that need to be installed | ||
# on the cluster. | ||
- cephfs_ctrlplugin_service_account.yaml | ||
- cephfs_ctrlplugin_cluster_role.yaml | ||
- cephfs_ctrlplugin_cluster_role_binding.yaml | ||
- cephfs_ctrlplugin_role.yaml | ||
- cephfs_ctrlplugin_role_binding.yaml | ||
- cephfs_nodeplugin_service_account.yaml | ||
- cephfs_nodeplugin_cluster_role.yaml | ||
- cephfs_nodeplugin_cluster_role_binding.yaml | ||
- rbd_ctrlplugin_service_account.yaml | ||
- rbd_ctrlplugin_cluster_role.yaml | ||
- rbd_ctrlplugin_cluster_role_binding.yaml | ||
- rbd_ctrlplugin_role.yaml | ||
- rbd_ctrlplugin_role_binding.yaml | ||
- rbd_nodeplugin_service_account.yaml | ||
- rbd_nodeplugin_cluster_role.yaml | ||
- rbd_nodeplugin_cluster_role_binding.yaml | ||
- rbd_nodeplugin_role.yaml | ||
- rbd_nodeplugin_role_binding.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
...phfs_nodeplugin_cluster_role_binding.yaml → .../nfs_ctrlplugin_cluster_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
|
||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-cephfs-nodeplugin-crb | ||
name: nfs-ctrlplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-cephfs-nodeplugin-sa | ||
name: nfs-ctrlplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: csi-cephfs-nodeplugin-cr | ||
name: nfs-ctrlplugin-cr | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
...c/csi_nfs_ctrlplugin_service_account.yaml → ...-rbac/nfs_ctrlplugin_service_account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: csi-nfs-ctrlplugin-sa | ||
name: nfs-ctrlplugin-sa | ||
namespace: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
..._nfs_nodeplugin_cluster_role_binding.yaml → .../nfs_nodeplugin_cluster_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-nfs-nodeplugin-crb | ||
name: nfs-nodeplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-nfs-nodeplugin-sa | ||
name: nfs-nodeplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: csi-nfs-nodeplugin-cr | ||
|
||
name: nfs-nodeplugin-cr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rbac/csi_rbd_ctrlplugin_cluster_role.yaml → ...csi-rbac/rbd_ctrlplugin_cluster_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...phfs_ctrlplugin_cluster_role_binding.yaml → .../rbd_ctrlplugin_cluster_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-cephfs-ctrlplugin-crb | ||
name: rbd-ctrlplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-cephfs-ctrlplugin-sa | ||
name: rbd-ctrlplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: csi-cephfs-ctrlplugin-cr | ||
name: rbd-ctrlplugin-cr | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
config/rbac/csi_rbd_ctrlplugin_role.yaml → config/csi-rbac/rbd_ctrlplugin_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...rbac/csi_rbd_nodeplugin_role_binding.yaml → ...csi-rbac/rbd_ctrlplugin_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-rbd-nodeplugin-rb | ||
name: rbd-ctrlplugin-rb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-rbd-nodeplugin-sa | ||
name: rbd-ctrlplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: Role | ||
name: csi-rbd-nodeplugin-r | ||
name: rbd-ctrlplugin-r | ||
apiGroup: rbac.authorization.k8s.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: rbd-ctrlplugin-sa | ||
namespace: system |
2 changes: 1 addition & 1 deletion
2
...rbac/csi_rbd_nodeplugin_cluster_role.yaml → ...csi-rbac/rbd_nodeplugin_cluster_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: rbd-nodeplugin-crb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: rbd-nodeplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: ClusterRole | ||
name: rbd-nodeplugin-cr | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
config/rbac/csi_rbd_nodeplugin_role.yaml → config/csi-rbac/rbd_nodeplugin_role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...c/csi_cephfs_ctrlplugin_role_binding.yaml → ...csi-rbac/rbd_nodeplugin_role_binding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: csi-cephfs-ctrlplugin-rb | ||
name: rbd-nodeplugin-rb | ||
subjects: | ||
- kind: ServiceAccount | ||
name: csi-cephfs-ctrlplugin-sa | ||
name: rbd-nodeplugin-sa | ||
namespace: system | ||
roleRef: | ||
kind: Role | ||
name: csi-cephfs-ctrlplugin-r | ||
name: rbd-nodeplugin-r | ||
apiGroup: rbac.authorization.k8s.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: rbd-nodeplugin-sa | ||
namespace: system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters