maasdevops_cicdtest/CD_CCG/management-zone/CDCCG.json

73 lines
1.2 KiB
JSON

{
"dimensionalRules": [],
"metadata": {
"clusterVersion": "1.209.98.20210122-102634",
"configurationVersions": [
0
]
},
"name": "{{.name}}",
"rules": [
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "CCG"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"comparisonInfo": {
"caseSensitive": false,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "Resource"
},
"key": {
"attribute": "SERVICE_NAME"
}
}
],
"enabled": true,
"propagationTypes": [
"SERVICE_TO_PROCESS_GROUP_LIKE",
"SERVICE_TO_HOST_LIKE"
],
"type": "SERVICE"
},
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "CCG"
}
},
"key": {
"attribute": "HOST_TAGS"
}
}
],
"enabled": true,
"propagationTypes": [
"HOST_TO_PROCESS_GROUP_INSTANCE"
],
"type": "HOST"
}
]
}