Role Backend Implementation #435
Labels
controller
Update on controller
go
Pull requests that update Go code
good first issue
Good for newcomers
kubernetes
k8s related issues
When fetching resources for a Module, some resources are supported to return details about a specific resource. For example, the endpoint for Deployments will return more information about pods and their statuses, and the endpoint for Services will return information about the ports.
If you want to fetch information about a Deployment from the default namespace called demo-app you would call:
The goal of the issue is to support Role on the same endpoint. The endpoint for fetching Role data would look like this:
The handler function for the endpoint is here, and you will have to handle a new type here.
The endpoint should return data about its
name
,namespace
,rules
,resources
,verbs
… (you can find more about it here.Refer to this PR on adding new types #259
The text was updated successfully, but these errors were encountered: