opendevstack / opendevstack/ods-provisioning-app
Add labels to ODS projects for cleanup 🧹
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14
- Forks
- 20
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
OpenShift clusters, over time, end up with 100+ ODS projects that are difficult to keep track of what the owner is. This is important when it comes to deleting old and unused projects to free up resources in the cluster.
Describe the solution you'd like
The Prov App could define labels when creating the ODS project in OpenShift. For instance, it could add:
ods.project.owner: foo@bar.com
ods.project.type: [default|kanban|EDProject]
This way, we could identify what projects belong to what users with oc get projects -l ods.project.owner=foo@bar.com
Additional context
The aforementioned fields can be populated from the Prov App form.
Would like to hear your thoughts on this @clemensutschig @michaelsauter
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Prov App form and the code that creates ODS projects in OpenShift. Trace how owner and project type could be populated from the form, then verify the resulting labels with the suggested oc get projects -l query. Done means newly created projects expose the owner and type labels for cleanup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100