Skip to content
Snippets Groups Projects
virtual-service.yaml 453 B
Newer Older
  • Learn to ignore specific revisions
  • 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/indexer/v2"
          route:
            - destination:
                port:
                  number: 80
                host: "{{ .Values.conf.app_name }}.{{ .Release.Namespace }}.svc.cluster.local"