How to tag all services & processes that fall under a namespace with a particular tag
I tried but there is no way for me to specify the K8 namespace tag under condition. Basically, what we need to have tag on all services and processes under the namespace with a specific tag.
Hi @ansonsgoh
OR If I understand your request correctly, when you create a new auto tag first you should tag the PGs which ones under the namespace with your particular existing tag
type(“PROCESS_GROUP”),toRelationships.isNamespaceOfPg(type(CLOUD_APPLICATION_NAMESPACE),tag(“your particular existing tag”))
When your PGs are tagged with the new auto tag you can use these onse for the PGIs and Services:
type(“PROCESS_GROUP_INSTANCE”),fromRelationships.isInstanceOf(type(PROCESS_GROUP),tag(“your required new tag”))
type(“SERVICE”),fromRelationships.RunsOn(type(PROCESS_GROUP),tag(“your required new tag”))
I hope it helps.
Best regards,
János

