pomerium/docs/configuration/examples/kubernetes/istio/virtual-services.yml
Jeff Hubbach a98d39c5af
Docs: Update Istio VirtualService example (#1006)
It's necessary to specify the destination port for Pomerium services
2020-06-25 18:15:34 -07:00

34 lines
701 B
YAML

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: grafana-virtual-service
namespace: pomerium
spec:
gateways:
- istio-system/internal-gateway
hosts:
- grafana.yourcompany.com
http:
- route:
- destination:
host: pomerium-proxy
port:
number: 80
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: authenticate-virtual-service
namespace: pomerium
spec:
gateways:
- istio-system/internal-gateway
hosts:
- authenticate.yourcompany.com
http:
- route:
- destination:
host: pomerium-authenticate
port:
number: 80
---