KubeZero/charts/kubezero-telemetry/templates/jaeger/istio-service.yaml

21 lines
493 B
YAML

{{- if .Values.jaeger.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.jaeger.istio.gateway }}
hosts:
- {{ .Values.jaeger.istio.url }}
http:
- route:
- destination:
host: {{ .Release.Name }}-jaeger-query
port:
number: 80
{{- end }}