VMware NSX
vSphere Kubernetes Service
This is an expected security behavior in the NSX UI to block the modification of objects created by VKS / NCP (owned by a Principal Identity).
This is a condition that may occur in a VMware NSX environment.
It is currently NOT supported to configure VKS or NCP to automatically create new tier-1 gateways with gateway firewall disabled. When NCP creates a tier-1 gateway, it does not explicitly pass the "disable_firewall" parameter in the API payload, so NSX defaults it to enabled (disable_firewall: false). There is currently no ncp.ini option to alter this default behavior.
Workaround
If required, the gateway firewall can be disabled for a VKS / NCP created tier-1 gateway via API if the CNI is NCP .
Headers
Content-Type: application/json and X-Allow-Overwrite: true
Body
Body to contain GET output with "disable_firewall" set to true as below:
"disable_firewall": true,