--- apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: {{ include "softplayer-web.fullname" . }} labels: {{- include "softplayer-web.labels" . | nindent 4 }} spec: gateways: - {{ .Values.istio.gateway }} hosts: - {{ .Values.config.hostname }} http: - match: - uri: prefix: / route: - destination: host: {{ include "softplayer-web.fullname" . }} port: number: 80