cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing Kubernetes_namespace attribute to configure in json file

keerthana_deiva
Newcomer

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,

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

But i couldn't find the key word Kubernetes_namespace for attribute to set it up. Help me to fix this..!!

2 REPLIES 2

ChadTurner
DynaMight Guru
DynaMight Guru

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

-Chad

keerthana_deiva
Newcomer

Solution:

"key": {

"attribute": "PROCESS_GROUP_PREDEFINED_METADATA",

"dynamicKey": "KUBERNETES_NAMESPACE",

"type": "PROCESS_PREDEFINED_METADATA_KEY"

}