Retrieves specified cluster workload clusterrolebindings
POST/v1/dashboard/spectroclusters/:uid/workloads/clusterrolebinding
Retrieves specified cluster workload clusterrolebindings
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter
object
Cluster workloads filter
namespacesstring[]
Responses
- 200
An array of cluster workload clusterrolebindings
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
bindings
object[]
metadata
object
Cluster workload metadata
creationTimestampdate-time
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
kindstring
namestring
uidstring
labels
object
property name*string
namespacestring
spec
object
Cluster RBAC binding
namespacestring
role
object
Cluster role ref
kindstring
Possible values: [Role
, ClusterRole
]
namestring
subjects
object[]
namestring
namespacestring
typestring
Possible values: [User
, Group
, ServiceAccount
]
typestring
Possible values: [RoleBinding
, ClusterRoleBinding
]
{
"bindings": [
{
"metadata": {
"creationTimestamp": "2024-07-03T13:23:53.176Z",
"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"
}
}
]
}
Loading...