softplayer-helmfile/charts/softplayer-web/templates/vs.yaml

22 lines
458 B
YAML

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