Compare commits

...

1 Commits

Author SHA1 Message Date
Qian Cheng (ext.) 836fb2657e updated managed Zone (depend on ms-id) 2021-09-30 18:00:30 +02:00
1 changed files with 52 additions and 12 deletions

View File

@ -1,5 +1,13 @@
{ {
"description": "",
"dimensionalRules": [], "dimensionalRules": [],
"entitySelectorBasedRules": [],
"metadata": {
"clusterVersion": "1.226.91.20210918-122217",
"configurationVersions": [
0
]
},
"name": "{{.name}}", "name": "{{.name}}",
"rules": [ "rules": [
{ {
@ -12,18 +20,19 @@
"value": { "value": {
"context": "CONTEXTLESS", "context": "CONTEXTLESS",
"key": "Component", "key": "Component",
"value": "{{.tag}}" "value": "smc2-key-trk"
} }
}, },
"key": { "key": {
"attribute": "SERVICE_TAGS" "attribute": "SERVICE_TAGS",
"type": "STATIC"
} }
} }
], ],
"enabled": true, "enabled": true,
"propagationTypes": [ "propagationTypes": [
"SERVICE_TO_PROCESS_GROUP_LIKE", "SERVICE_TO_HOST_LIKE",
"SERVICE_TO_HOST_LIKE" "SERVICE_TO_PROCESS_GROUP_LIKE"
], ],
"type": "SERVICE" "type": "SERVICE"
}, },
@ -37,11 +46,12 @@
"value": { "value": {
"context": "CONTEXTLESS", "context": "CONTEXTLESS",
"key": "Component", "key": "Component",
"value": "{{.tag}}" "value": "smc2-key-trk"
} }
}, },
"key": { "key": {
"attribute": "PROCESS_GROUP_TAGS" "attribute": "PROCESS_GROUP_TAGS",
"type": "STATIC"
} }
} }
], ],
@ -61,15 +71,17 @@
"value": { "value": {
"context": "CONTEXTLESS", "context": "CONTEXTLESS",
"key": "Component", "key": "Component",
"value": "{{.tag}}" "value": "smc2-key-trk"
} }
}, },
"key": { "key": {
"attribute": "HOST_TAGS" "attribute": "HOST_TAGS",
"type": "STATIC"
} }
} }
], ],
"enabled": true, "enabled": true,
"propagationTypes": [],
"type": "HOST" "type": "HOST"
}, },
{ {
@ -80,10 +92,11 @@
"negate": false, "negate": false,
"operator": "CONTAINS", "operator": "CONTAINS",
"type": "STRING", "type": "STRING",
"value": "{{.tag}}" "value": "smc2-key-trk"
}, },
"key": { "key": {
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME",
"type": "STATIC"
} }
} }
], ],
@ -99,16 +112,43 @@
"negate": false, "negate": false,
"operator": "CONTAINS", "operator": "CONTAINS",
"type": "STRING", "type": "STRING",
"value": "{{.tag}}" "value": "smc2-key-trk"
}, },
"key": { "key": {
"attribute": "CLOUD_APPLICATION_NAME" "attribute": "CLOUD_APPLICATION_NAME",
"type": "STATIC"
} }
} }
], ],
"enabled": true, "enabled": true,
"propagationTypes": [], "propagationTypes": [],
"type": "CLOUD_APPLICATION" "type": "CLOUD_APPLICATION"
},
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "ms-id",
"value": "smc2-key-trk"
}
},
"key": {
"attribute": "SERVICE_TAGS",
"type": "STATIC"
}
}
],
"enabled": true,
"propagationTypes": [
"SERVICE_TO_HOST_LIKE",
"SERVICE_TO_PROCESS_GROUP_LIKE"
],
"type": "SERVICE"
} }
] ]
} }