apps/kube-prometheus/resources/http_routes.grafana.yaml
Peter Kurfer 97351b70f9
All checks were successful
Renovate / renovate (push) Successful in 44s
chore(observability): switch service port to 3000
2024-05-08 13:31:00 +02:00

34 lines
No EOL
630 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: grafana-http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
hostnames:
- grafana.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: grafana-https
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- grafana.icb4dc0.de
rules:
- backendRefs:
- name: prometheus-grafana
port: 3000