fix(gateway-api): install Envoy Gateway CRDs via templates

Helm 3 does not process CRDs from subchart crds/ directories in vanilla
Helm, while Flux does process them causing conflicts with the existing
gateway-api-crds package.

Move only Envoy-specific CRDs (gateway.envoyproxy.io) into templates/crds/
so they are installed and updated as regular resources. Remove the subchart
crds/ directory to prevent Flux from double-applying standard Gateway API
CRDs already provided by the gateway-api-crds package.

Update Makefile to copy Envoy CRDs and remove subchart crds/ after
helm pull.

Assisted-By: Claude AI
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>
This commit is contained in:
Kirill Ilin 2026-03-24 12:51:50 +05:00
parent 2082c79e70
commit 4e0576e1ae
No known key found for this signature in database
GPG key ID: E902D8B383F7675E
10 changed files with 4 additions and 20675 deletions

View file

@ -8,3 +8,7 @@ include ../../../hack/package.mk
update:
rm -rf charts
helm pull oci://docker.io/envoyproxy/gateway-helm --version $(CHART_VERSION) --untar --untardir charts
rm -rf templates/crds
mkdir -p templates/crds
cp charts/gateway-helm/crds/generated/*.yaml templates/crds/
rm -rf charts/gateway-helm/crds