Skip to content

Commit ccb04ca

Browse files
committed
fix(gateway-api): install CRDs via templates instead of subchart crds/ directory
Helm 3 does not process CRDs from subchart crds/ directories, only from the top-level chart. Move CRDs into templates/crds/ so they are installed and updated as regular resources during both install and upgrade. Update Makefile to copy CRDs from subchart to templates/crds/ after helm pull. Assisted-By: Claude AI Signed-off-by: Kirill Ilin <[email protected]>
1 parent 77322b7 commit ccb04ca

10 files changed

Lines changed: 52092 additions & 0 deletions

‎packages/system/envoy-gateway/Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ include ../../../hack/package.mk
88
update:
99
rm -rf charts
1010
helm pull oci://docker.io/envoyproxy/gateway-helm --version $(CHART_VERSION) --untar --untardir charts
11+
rm -rf templates/crds
12+
mkdir -p templates/crds
13+
cp charts/gateway-helm/crds/gatewayapi-crds.yaml templates/crds/
14+
cp charts/gateway-helm/crds/generated/*.yaml templates/crds/

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_backends.yaml‎

Lines changed: 476 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_backendtrafficpolicies.yaml‎

Lines changed: 2979 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_clienttrafficpolicies.yaml‎

Lines changed: 1909 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_envoyextensionpolicies.yaml‎

Lines changed: 2167 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_envoypatchpolicies.yaml‎

Lines changed: 510 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_envoyproxies.yaml‎

Lines changed: 16626 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_httproutefilters.yaml‎

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gateway.envoyproxy.io_securitypolicies.yaml‎

Lines changed: 6272 additions & 0 deletions
Large diffs are not rendered by default.

‎packages/system/envoy-gateway/templates/crds/gatewayapi-crds.yaml‎

Lines changed: 20675 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)