Azure / OpenShift

Azure Red Hat OpenShift
https://docs.microsoft.com/azure/openshift/intro-openshift
MIT License
114 stars 38 forks source link

'az aro create' --tags are not applied to aro-xxxxxxxx resource group #232

Open AWSmith0216 opened 3 years ago

AWSmith0216 commented 3 years ago

I'm creating an Azure Red Hat OpenShift cluster using 'az aro create'. The creation works fine, and I get the 'OpenShift cluster' object in my resource group. On that object the '--tags' I pass in are set properly.

However, the 'aro-xxxxxx' resource group that is created to contain all the cluster resources does not have those tags set on the resource group or any of the objects it contains. My assumption would be that the provided tags would be applied to all of those generated objects.

miroag commented 2 years ago

:+1:

dhatrifork commented 2 years ago

This is a huge problem. Any time line for fix?

bvenkataraman commented 1 year ago

Created in 2021 and still not resolved, how does Redhat Team expect for enterprise customers to use this product with a fully policy management enabled on our subscription?

jboutaud commented 1 year ago

We just released documentation around how to get resources tagged through Azure policy. The documentation is located here: https://learn.microsoft.com/en-us/azure/openshift/howto-tag-resources

narendrakumar-nj commented 1 year ago

The documentation shared in the previous comment is helpful only for adding tags post-creation. There might be policies in place that would prevent the creation of new resource groups without certain mandatory tags configured. In such cases, we wouldn't be able to create the cluster.