opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Resync outdated storage #681

Open stitakis opened 3 years ago

stitakis commented 3 years ago

When projects are deleted outside the provisioning app directly in the underlying systems like openshift, jira, confluence and/or bitbucket the provisioning storage becomes outdated. So, this ends up in the situation where a number of projects that the prov-app shows as existing actually do not exist anymore..

renedupont commented 3 years ago

adding one of your ideas discussed in the past on how to tackle this:

we could take the list of valid project/namespaces from openshift and display them in the dropdown list for modifying projects. Additionally a label could be added to the created namespaces to indicate that it was created by the prov-app and is compatible with it.

stitakis commented 3 years ago

@renedupont thanks! I believe the list displayed in the UI should be built up based on the projects that the user is allowed to modify in the underlying systems. This list could be obtained at runtime by querying each system and merging into one. This would eventually remove the need for an storage.