solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy

Home Page:https://docs.solo.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

DuncanDoyle opened this issue · 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