I am doing some recon work on projects in our openshift cluster and I am looking for an easy way to get all the Projects in a certain group.
I know there is an openshift API that has access to certain openshift artifacts:
For example I could make an API call to the openshift cluster like this:
/oapi/v1/projects/{name}
To get a project of a specific name. Is there a way to then get all the deployments for that project... Something like this:
/oapi/v1/projects/{name}/deployments
So I could know what deployments are in a certain environment in our openshift cluster.
Any thoughts on this would be great.