feat(observability): add HTTP routes
All checks were successful
Renovate / renovate (push) Successful in 42s
All checks were successful
Renovate / renovate (push) Successful in 42s
This commit is contained in:
parent
422fa5b276
commit
1424544ed6
2 changed files with 35 additions and 0 deletions
|
@ -7,6 +7,7 @@ resources:
|
||||||
- resources/secret.grafana-admin.yaml
|
- resources/secret.grafana-admin.yaml
|
||||||
- resources/secret.auth.yaml
|
- resources/secret.auth.yaml
|
||||||
- resources/secret.db.yaml
|
- resources/secret.db.yaml
|
||||||
|
- resources/http_routes.grafana.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: kube-prometheus-stack
|
- name: kube-prometheus-stack
|
||||||
|
|
34
kube-prometheus/resources/http_routes.grafana.yaml
Normal file
34
kube-prometheus/resources/http_routes.grafana.yaml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
---
|
||||||
|
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: 80
|
Loading…
Reference in a new issue