softplayer-helmfile/charts/softplayer-web/templates/vs.yaml
2024-05-08 17:38:52 +02:00

22 lines
454 B
YAML

---
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