Skip to content

Commit

Permalink
feat(monitoring): add route
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluijk committed Dec 8, 2023
1 parent 226623c commit 0a0052b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions requirements/monitoring/grafana/certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: monitoring
name: grafana
namespace: default
spec:
domains:
- montoring.wisv.ch
- grafana.wisv.ch
1 change: 1 addition & 0 deletions requirements/monitoring/grafana/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ resources:
- release.yaml
- certificate.yaml
- iap.yaml
- route.yaml
16 changes: 16 additions & 0 deletions requirements/monitoring/grafana/route.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: grafana-route
namespace: default
spec:
parentRefs:
- kind: Gateway
namespace: gateway-infra
name: gateway
hostnames:
- grafana.wisv.ch
rules:
- backendRefs:
- name: grafana
port: 80

0 comments on commit 0a0052b

Please sign in to comment.