canonical / k8s-snap

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.
GNU General Public License v3.0
40 stars 11 forks source link

Delay Gateway API CRD Removal Until After Cilium Update #614

Closed bschimke95 closed 1 month ago

bschimke95 commented 1 month ago

Previously, Gateway API CRDs were installed and removed at the start of enabling or disabling the Gateway feature. This approach caused issues when the Gateway feature was disabled, as the CRDs were removed too early, leading to failures in Cilium's cleanup process due to the absence of these CRDs.

This commit ensures that Gateway API CRDs are only removed after Cilium has been updated, preventing cleanup failures.