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

34 lines
706 B
YAML
Raw Normal View History

2020-08-03 15:24:32 +00:00
{{- 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:
2020-08-03 15:34:57 +00:00
host: metrics-grafana
2020-08-03 15:24:32 +00:00
{{- end }}
2020-08-03 16:44:58 +00:00
---
{{- if .Values.prometheus.istio.enabled }}
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: prometheus
namespace: monitoring
spec:
hosts:
- {{ .Values.prometheus.istio.url }}
gateways:
- {{ .Values.prometheus.istio.gateway }}
http:
- route:
- destination:
host: metrics-prometheus-operato-prometheus
{{- end }}