Missing Kubernetes_namespace attribute to configure in json file

Hi I am configuring management zone for kubernetes application via API..i have a json code,

“conditions”: [

{

“key”: {

“attribute”: “PROCESS_GROUP_NAME”

},

“comparisonInfo”: {

“type”: “STRING”,

“operator”: “BEGINS_WITH”,

“value”: “{ {kubernetes_namespace}}”,

“negate”: false,

“caseSensitive”: true

}

so this will automatically setup the management zone like,

24945-1588970662244.png

But i need the rule to be setup with Kubernetes namespace like,

24938-1588970795581.png
But i couldn’t find the key word Kubernetes_namespace for attribute to set it up. Help me to fix this..!!

Id open a support chat or a support ticket - that will be the fastest way to resolving your issue.

Solution:

“key”: {

“attribute”: “PROCESS_GROUP_PREDEFINED_METADATA”,

“dynamicKey”: “KUBERNETES_NAMESPACE”,

“type”: “PROCESS_PREDEFINED_METADATA_KEY”

}