22# https://gateway-api.sigs.k8s.io/geps/gep-1867/
33# This sample demonstrates how to configure a hybrid Kong Gateway with
44# per-Gateway infrastructure using GatewayConfiguration resources.
5- # The GatewayConfiguration resource named "hybrid -kong" defines
5+ # The GatewayConfiguration resource named "common-infra-configuration -kong" defines
66# the control plane connection details for the data plane.
7- # The GatewayConfiguration resource named "gateway-infrastructure -kong"
8- # defines the infrastructure details for the Gateway
7+ # The GatewayConfiguration resource named "custom-infra-configuration -kong"
8+ # defines the infrastructure details for the Gateway with custom settings by
99# setting the source to "Mirror" and specifying the Konnect Control Plane ID.
1010---
1111kind : KonnectAPIAuthConfiguration
2121kind : GatewayConfiguration
2222apiVersion : gateway-operator.konghq.com/v2beta1
2323metadata :
24- name : hybrid -kong
24+ name : common-infra-configuration -kong
2525 namespace : default
2626spec :
2727 konnect :
@@ -48,13 +48,25 @@ spec:
4848 parametersRef :
4949 group : gateway-operator.konghq.com
5050 kind : GatewayConfiguration
51- name : hybrid -kong
51+ name : common-infra-configuration -kong
5252 namespace : default
5353---
54+ kind : Gateway
55+ apiVersion : gateway.networking.k8s.io/v1
56+ metadata :
57+ name : common-hybrid-kong
58+ namespace : default
59+ spec :
60+ gatewayClassName : hybrid-kong
61+ listeners :
62+ - name : http
63+ protocol : HTTP
64+ port : 80
65+ ---
5466kind : GatewayConfiguration
5567apiVersion : gateway-operator.konghq.com/v2beta1
5668metadata :
57- name : gateway-infrastructure -kong
69+ name : custom-infra-configuration -kong
5870 namespace : default
5971spec :
6072 konnect :
@@ -66,15 +78,15 @@ spec:
6678kind : Gateway
6779apiVersion : gateway.networking.k8s.io/v1
6880metadata :
69- name : hybrid-kong
81+ name : custom- hybrid-kong
7082 namespace : default
7183spec :
7284 gatewayClassName : hybrid-kong
7385 infrastructure :
7486 parametersRef :
7587 group : gateway-operator.konghq.com
7688 kind : GatewayConfiguration
77- name : gateway-infrastructure -kong
89+ name : custom-infra-configuration -kong
7890 listeners :
7991 - name : http
8092 protocol : HTTP
0 commit comments