feat: install Gateway API v1.5.1 CRDs (Cilium 1.20 requires referencegrants v1)
Cilium 1.20.1's operator refuses to create the Gateway controller when a required CRD lacks v1: CRD "referencegrants.gateway.networking.k8s.io" does not have version "v1" The cluster's Gateway API CRDs predate v1.5.x and only serve referencegrants v1beta1. Vendor the v1.5.1 standard channel (referencegrants, tlsroutes, backendtlspolicies, grpcroutes, listenersets etc. all at v1) and manage it with a dedicated Flux Kustomization with prune=false so CRDs are never auto-deleted.
This commit is contained in:
parent
f84009c234
commit
2fc8201719
3 changed files with 17547 additions and 0 deletions
16
clusters/homek8s/gateway-api-crds.yaml
Normal file
16
clusters/homek8s/gateway-api-crds.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: gateway-api-crds
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h0m0s
|
||||
retryInterval: 5m
|
||||
timeout: 5m
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
path: ./infrastructure/networking/gateway-api
|
||||
# CRDs must never be pruned automatically: dropping them would delete
|
||||
# every Gateway/HTTPRoute object in the cluster.
|
||||
prune: false
|
||||
Loading…
Reference in a new issue