forked from kubernetes-sigs/gateway-api-inference-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenable_patch_policy.yaml
26 lines (26 loc) · 913 Bytes
/
enable_patch_policy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
apiVersion: v1
kind: ConfigMap
metadata:
name: envoy-gateway-config
namespace: envoy-gateway-system
data:
# This manifest's main purpose is to set `enabledEnvoyPatchPolicy` to `true`.
# Any field under `admin` is optional, and only for enabling the admin endpoints, for debugging.
# Admin Interface: https://www.envoyproxy.io/docs/envoy/latest/operations/admin
# PatchPolicy docs: https://gateway.envoyproxy.io/docs/tasks/extensibility/envoy-patch-policy/#enable-envoypatchpolicy
envoy-gateway.yaml: |
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyGateway
provider:
type: Kubernetes
gateway:
controllerName: gateway.envoyproxy.io/gatewayclass-controller
extensionApis:
enableEnvoyPatchPolicy: true
enableBackend: true
# admin:
# enablePprof: true
# address:
# host: 127.0.0.1
# port: 19000
# enabledDumpConfig: true