bcgov / platform-services-registry

Platform services OCP project registry
https://registry.developer.gov.bc.ca/
Apache License 2.0
9 stars 13 forks source link

Provisioner update for cost management label #3680

Closed Iryna-Kaplun closed 2 months ago

Iryna-Kaplun commented 2 months ago

Issue on the Platform Experience board #5098

Describe the issue In order to use the Cost Management tool in OpenShift, a namespace must have a certain label. Update the provisioner's namespace template to include this label.

What is the Value/Impact? Enable use of the Cost Management tool for all users

What is the plan? How will this get completed?

Update roles/tenant/templates/namespace.yaml.j2, adding label: insights_cost_management_optimizations: "true" Commit the change Build a new version of the app-provisioner image, incrementing the minor version number by one Update the private cloud sensors in the provisioner's gitops repo for each environment (dev, test, prod) Verify the change by reprovisioning a test project that you control Identify any dependencies n/a

Definition of done

funtigr commented 2 months ago

The changes are implemented. Now if the new namespace is made by Provisioner, it has new label:

image.png
funtigr commented 2 months ago

Ian has checked the implementation and approved it. As it is not about our app I will not add the task to any release.