pomerium/docs/configuration/examples/kubernetes/istio/virtual-services.yml
Bjoern Weidlich 1a1a5a11f9
Documentation around Pomerium/Istio/Grafana (#675)
* Added an example of how to protect Grafana with Pomerium inside of an Istio mesh
* Added relevant documentation links
2020-05-17 22:26:09 -07:00

30 lines
615 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
---
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
---