KubeZero/charts/kubezero-metrics/templates/istio-service.yaml

17 lines
326 B
YAML

{{- if .Values.grafana.istio.enabled }}
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: grafana
namespace: monitoring
spec:
hosts:
- {{ .Values.grafana.istio.url }}
gateways:
- {{ .Values.grafana.istio.gateway }}
http:
- route:
- destination:
host: grafana
{{- end }}