Enabling backend mTLS requires changes to the GatewayClass? #5248
Answered
by
arkodg
aukevanleeuwen
asked this question in
Q&A
-
Hello, I'm trying to enable mTLS on the backend configuration by reading https://gateway.envoyproxy.io/docs/tasks/security/backend-mtls/. It states that I should do have this config on the ---
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: custom-proxy-config
namespace: envoy-gateway-system I already have this setup on the apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: eg
spec:
gatewayClassName: eg
infrastructure:
parametersRef:
group: gateway.envoyproxy.io
kind: EnvoyProxy
name: envoy-config
# ... |
Beta Was this translation helpful? Give feedback.
Answered by
arkodg
Feb 10, 2025
Replies: 1 comment 1 reply
-
yeah you can attach it to the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aukevanleeuwen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yeah you can attach it to the
Gateway
orGatewayClass
, and theGateway
attachment takes precedence