Create a REST API endpoint to return the list of containers
Create a REST API endpoint such as /containers
that return the list of containers and init containers that a Pod may have in order to help when creating SGInstanceProfile configurations.
The proposed returned model is as follow:
containers: [<string>] # list of containers names
initContainers: [<string>] # list of init containers names
Acceptance Criteria
- [] Implement the change
- [] Test the change
- [] Document the change