First, let’s create a GatewayConfiguration resource to specify our Hybrid Gateway parameters. Set spec.konnect.authRef.name to the name of the KonnectAPIAuthConfiguration resource we created in the prerequisites and specify your data plane configuration:
echo '
kind: GatewayConfiguration
apiVersion: gateway-operator.konghq.com/v2beta1
metadata:
name: kong-configuration
namespace: kong
spec:
konnect:
authRef:
name: konnect-api-auth
dataPlaneOptions:
deployment:
podTemplateSpec:
spec:
containers:
- name: proxy
image: kong/kong-gateway:3.13' | kubectl apply -f -