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

22 lines
454 B
YAML
Raw Permalink Normal View History

2024-04-06 17:56:56 +00:00
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ include "softplayer-web.fullname" . }}
labels:
{{- include "softplayer-web.labels" . | nindent 4 }}
spec:
gateways:
2024-05-08 15:38:52 +00:00
- {{ .Values.istio.gateway }}
2024-04-06 17:56:56 +00:00
hosts:
2024-05-04 16:42:28 +00:00
- {{ .Values.config.hostname }}
2024-04-06 17:56:56 +00:00
http:
- match:
- uri:
prefix: /
route:
- destination:
host: {{ include "softplayer-web.fullname" . }}
port:
number: 80