entitlements-virtual-service.yml 458 Bytes
Newer Older
vladislav's avatar
vladislav committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: "{{ .Values.conf.app_name }}"
  namespace: "{{ .Release.Namespace }}"
spec:
  hosts:
    - "*"
  gateways:
    - service-gateway
  http:
    - match:
        - uri:
            prefix: "/api/entitlements/v2"
      route:
        - destination:
            port:
              number: 80
            host: "{{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local"