maasglobal_cicdtest/00_Global-Config/conditional-naming-service/OpenShiftservicename-contai...

29 lines
571 B
JSON

{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.211.111.20210222-093946",
"configurationVersions": [
0
]
},
"nameFormat": "{Service:DetectedName} - {ProcessGroup:KubernetesContainerName} - {ProcessGroup:KubernetesNamespace/[^-]+$}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Platform",
"value": "OpenShift"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"type": "SERVICE"
}