Retrieves specified cluster workload rolebindings
POST/v1/dashboard/spectroclusters/:uid/workloads/rolebinding
Retrieves specified cluster workload rolebindings
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 rolebindings
- 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-02T18:20:58.028Z",
"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...