Retrieves specified cluster workload clusterrolebindings
POST/v1/dashboard/spectroclusters/:uid/workloads/clusterrolebinding
Retrieves specified cluster workload clusterrolebindings
Request
Path Parameters
Header Parameters
Scope the request to the specified project uid
- application/json
Body
filter
object
Cluster workloads filter
Responses
- 200
An array of cluster workload clusterrolebindings
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
bindings
object[]
metadata
object
Cluster workload metadata
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
entity
object
Cluster workload ref
labels
object
spec
object
Cluster RBAC binding
role
object
Cluster role ref
Possible values: [Role
, ClusterRole
]
subjects
object[]
Possible values: [User
, Group
, ServiceAccount
]
Possible values: [RoleBinding
, ClusterRoleBinding
]
{
"bindings": [
{
"metadata": {
"creationTimestamp": "2024-01-29T23:59:26.970Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"spec": {
"namespace": "string",
"role": {
"kind": "Role",
"name": "string"
},
"subjects": [
{
"name": "string",
"namespace": "string",
"type": "User"
}
],
"type": "RoleBinding"
}
}
]
}