question

Keerthana D. avatar image
Keerthana D. asked ·

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,

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..!!

management zoneskubernetes
1588970662244.png (8.3 KiB)
1588970795581.png (8.3 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Keerthana D. avatar image
Keerthana D. answered ·

Solution:

"key": {

"attribute": "PROCESS_GROUP_PREDEFINED_METADATA",

"dynamicKey": "KUBERNETES_NAMESPACE",

"type": "PROCESS_PREDEFINED_METADATA_KEY"

}

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Chad T. avatar image
Chad T. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.