Gateway api support (#890)
* Gateway api support Signed-off-by: Kevin Fox <[email protected]> * Update readme Signed-off-by: Kevin Fox <[email protected]> * Fix gateway name. a gateway doesnt need to be named gateway Signed-off-by: Kevin Fox <[email protected]> * Fix naming issue Signed-off-by: Kevin Fox <[email protected]> * Incorperate feedback Signed-off-by: Kevin Fox <[email protected]> * Incorperate feedback Signed-off-by: Kevin Fox <[email protected]> --------- Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Test-owned shared Gateway. Created outside the chart so its Envoy Gateway
|
||||
# data-plane Service (and ClusterIP) exists before the chart is installed,
|
||||
# letting the harness resolve the test hostnames to it in a single install pass.
|
||||
# name/namespace match the chart's global reference defaults
|
||||
# (global.spire.gatewayAPI.gateway.name=spire-gateway, namespace=release ns) so
|
||||
# the chart's ListenerSets and routes attach to it.
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: spire
|
||||
namespace: spire-server
|
||||
spec:
|
||||
gatewayClassName: eg
|
||||
allowedListeners:
|
||||
namespaces:
|
||||
from: All
|
||||
listeners:
|
||||
- name: base
|
||||
protocol: TLS
|
||||
port: 443
|
||||
tls:
|
||||
mode: Passthrough
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
@@ -0,0 +1,27 @@
|
||||
# EnvoyProxy forces the per-Gateway data-plane Service to type ClusterIP so the
|
||||
# integration harness can capture a stable ClusterIP and map the test hostnames
|
||||
# to it via hostAliases (kind has no LoadBalancer). The GatewayClass wires this
|
||||
# proxy config in via parametersRef.
|
||||
apiVersion: gateway.envoyproxy.io/v1alpha1
|
||||
kind: EnvoyProxy
|
||||
metadata:
|
||||
name: clusterip-proxy
|
||||
namespace: envoy-gateway-system
|
||||
spec:
|
||||
provider:
|
||||
type: Kubernetes
|
||||
kubernetes:
|
||||
envoyService:
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: GatewayClass
|
||||
metadata:
|
||||
name: eg
|
||||
spec:
|
||||
controllerName: gateway.envoyproxy.io/gatewayclass-controller
|
||||
parametersRef:
|
||||
group: gateway.envoyproxy.io
|
||||
kind: EnvoyProxy
|
||||
name: clusterip-proxy
|
||||
namespace: envoy-gateway-system
|
||||
@@ -12,6 +12,6 @@
|
||||
{
|
||||
"name": "envoy-gateway",
|
||||
"registry": "docker.io/envoyproxy/gateway-helm",
|
||||
"version": "v1.7.2"
|
||||
"version": "v1.8.2"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user