-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
1
-
False
-
None
-
False
-
COST-2820 - Walk: cost of running OpenShift
-
-
In order to do -C-RU-D- buckets we need a new API that can handle PUT to update the current 'platform' bucket so the user can add any additional projects they choose to the platform cost bucket.
MUST
- User should be able to add other projects (that can be multi-clustered) to the “platform bucket” (non default projects aka Openshift-* or Kube-*)
- User should be able to remove projects that they’ve put into the “platform bucket” (non default projects aka Openshift-* or Kube-*)
- View a list of projects that are denoted into the “platform bucket”
- Use same permissions as settings page (RBAC)
- Recalculate cost for current month (same as cost model)
Should
- Support “string*” addition of projects
Will Not
- User cannot include regular expressions
- Users can not remove default OpenShift projects
- There will only be a “Platform bucket” to add projects to - no multiple buckets (for this feature anyway)
Note:
In order for the user to get a list of projects for populating the platform bucket we can make use of the resource-types endpoint.
/api/cost-management/v1/resource-types/openshift-projects/