-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for RBD pool extra storage class
Template version: main (ba0ed2c)
- Loading branch information
Showing
29 changed files
with
17,638 additions
and
3 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
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
Empty file.
25 changes: 25 additions & 0 deletions
25
tests/golden/rbd-extra-storageclass/rook-ceph/rook-ceph/00_namespaces.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
openshift.io/node-selector: '' | ||
labels: | ||
app.kubernetes.io/component: rook-ceph | ||
app.kubernetes.io/managed-by: commodore | ||
app.kubernetes.io/name: syn-rook-ceph-operator | ||
name: syn-rook-ceph-operator | ||
openshift.io/cluster-monitoring: 'true' | ||
name: syn-rook-ceph-operator | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
openshift.io/node-selector: '' | ||
labels: | ||
app.kubernetes.io/component: rook-ceph | ||
app.kubernetes.io/managed-by: commodore | ||
app.kubernetes.io/name: syn-rook-ceph-cluster | ||
name: syn-rook-ceph-cluster | ||
openshift.io/cluster-monitoring: 'true' | ||
name: syn-rook-ceph-cluster |
115 changes: 115 additions & 0 deletions
115
tests/golden/rbd-extra-storageclass/rook-ceph/rook-ceph/01_aggregated_rbac.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 |
---|---|---|
@@ -0,0 +1,115 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
app.kubernetes.io/component: rook-ceph | ||
app.kubernetes.io/managed-by: commodore | ||
app.kubernetes.io/name: rook-ceph-view | ||
name: rook-ceph-view | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
rbac.authorization.k8s.io/aggregate-to-edit: 'true' | ||
rbac.authorization.k8s.io/aggregate-to-view: 'true' | ||
name: rook-ceph-view | ||
rules: | ||
- apiGroups: | ||
- ceph.rook.io | ||
resources: | ||
- cephblockpoolradosnamespaces | ||
- cephblockpools | ||
- cephbucketnotifications | ||
- cephbuckettopics | ||
- cephclients | ||
- cephclusters | ||
- cephfilesystemmirrors | ||
- cephfilesystems | ||
- cephfilesystemsubvolumegroups | ||
- cephnfss | ||
- cephobjectrealms | ||
- cephobjectstores | ||
- cephobjectstoreusers | ||
- cephobjectzonegroups | ||
- cephobjectzones | ||
- cephrbdmirrors | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- objectbucket.io | ||
resources: | ||
- objectbucketclaims | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
app.kubernetes.io/component: rook-ceph | ||
app.kubernetes.io/managed-by: commodore | ||
app.kubernetes.io/name: rook-ceph-edit | ||
name: rook-ceph-edit | ||
rbac.authorization.k8s.io/aggregate-to-admin: 'true' | ||
rbac.authorization.k8s.io/aggregate-to-edit: 'true' | ||
name: rook-ceph-edit | ||
rules: | ||
- apiGroups: | ||
- ceph.rook.io | ||
resources: | ||
- cephblockpoolradosnamespaces | ||
- cephblockpools | ||
- cephbucketnotifications | ||
- cephbuckettopics | ||
- cephclients | ||
- cephclusters | ||
- cephfilesystemmirrors | ||
- cephfilesystems | ||
- cephfilesystemsubvolumegroups | ||
- cephnfss | ||
- cephobjectrealms | ||
- cephobjectstores | ||
- cephobjectstoreusers | ||
- cephobjectzonegroups | ||
- cephobjectzones | ||
- cephrbdmirrors | ||
verbs: | ||
- create | ||
- delete | ||
- deletecollection | ||
- patch | ||
- update | ||
- apiGroups: | ||
- objectbucket.io | ||
resources: | ||
- objectbucketclaims | ||
verbs: | ||
- create | ||
- delete | ||
- deletecollection | ||
- patch | ||
- update | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: {} | ||
labels: | ||
app.kubernetes.io/component: rook-ceph | ||
app.kubernetes.io/managed-by: commodore | ||
app.kubernetes.io/name: rook-ceph-cluster-reader | ||
name: rook-ceph-cluster-reader | ||
rbac.authorization.k8s.io/aggregate-to-cluster-reader: 'true' | ||
name: rook-ceph-cluster-reader | ||
rules: | ||
- apiGroups: | ||
- objectbucket.io | ||
resources: | ||
- objectbuckets | ||
verbs: | ||
- get | ||
- list | ||
- watch |
Oops, something went wrong.