homek8s/infrastructure/networking/gateway/gatewayclass.yaml

23 lines
937 B
YAML
Raw Normal View History

# The Cilium GatewayClass, declared here so the access-log configuration is
# bound by GitOps rather than a hand patch.
#
# Why this file exists at all: the cilium Helm chart creates the GatewayClass
# (controllerName io.cilium/gateway-controller) but has no values knob for
# `spec.parametersRef`, and Cilium only reads `spec.telemetry.accessLogs` from
# the CiliumGatewayClassConfig referenced there. Owning the object here keeps
# the binding in sirius/homek8s and applied by Flux.
#
# The rendered spec is byte-for-byte the chart's GatewayClass plus parametersRef,
# so a Helm upgrade and this manifest agree on every other field.
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
name: cilium
spec:
controllerName: io.cilium/gateway-controller
description: The default Cilium GatewayClass
parametersRef:
group: cilium.io
kind: CiliumGatewayClassConfig
name: cilium
namespace: kube-system