In this example the AuthService
resource configures Emissary Ingress to let Envoy communicate over the GRPC protocol with heimdall.
apiVersion: getambassador.io/v3alpha1
kind: AuthService
metadata:
name: heimdall
namespace: heimdall
spec:
auth_service: "https://<heimdall service name>.<namespace>.svc.cluster.local:<decision port>" (1)
proto: grpc
protocol_version: v3 (2)
1 | Configures the controller to use heimdall’s decision service endpoint with <heimdall service name> , <namespace> and <decision port> depending on your configuration. If heimdall is not operated in the same namespace as the ingress controller, it is important to configure the full DNS, otherwise Envoy will not be able to resolve the IP of heimdall. |
2 | Sets the used Envoy’s ExtAuth GRPC protocol version to v3, as this is the only version supported by heimdall. If not set, Emissary will default to v2. |