gloo icon indicating copy to clipboard operation
gloo copied to clipboard

[Helm] Gateway CRs not removed when disabling proxy in Helm values file.

Open DuncanDoyle opened this issue 1 year ago • 1 comments

Gloo Edge Product

Enterprise

Gloo Edge Version

1.16.6

Kubernetes Version

1.27.8

Describe the bug

When you have deployed a Gateway using Helm, and you later disable that Gateway in the Helm values file by setting:

gatewayProxies:
  myCustomGateway:
    disabled: true

the gateway deployment, service, replicaset, etc. are correctly removed from the namespace. However, the Gloo Proxy CRs for that specific Gateway, both the standard and ssl one, are not removed.

Expected Behavior

All resources of my disabled GW are properly cleaned up.

Steps to reproduce the bug

  1. Deploy a GE Gateway with Helm.
  2. Disable the gateway by setting its disabled: true flag in your Helm values file.
  3. Run a helm upgrade
  4. Observe that the Gateway CRs are not properly cleaned up.

Additional Environment Detail

No response

Additional Context

No response

DuncanDoyle avatar Apr 16 '24 12:04 DuncanDoyle