KubeZero/charts/uptime-kuma/templates/istio-service.yaml

19 lines
444 B
YAML
Raw Normal View History

2021-09-24 11:33:49 +00:00
{{- if .Values.istio.enabled }}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: {{ include "kubezero-lib.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "kubezero-lib.labels" . | nindent 4 }}
spec:
gateways:
- {{ .Values.istio.gateway }}
hosts:
- {{ .Values.istio.url }}
http:
- route:
- destination:
host: {{ include "kubezero-lib.fullname" . }}
{{- end }}