Skip to content

Commit

Permalink
Hubble UI HTTPRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenCappuccino committed Mar 22, 2024
1 parent ef4503f commit a00d135
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .kustomanager.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ builds:
buildPath: builds/in-cluster/kubernetes-dashboard
cluster: in-cluster
name: kubernetes-dashboard
- timestamp: 1711079313
sourceHash: b3c3ca9100933144465d991405ab24ab460a2de0401a49c4857552e8ffa78a1c
- timestamp: 1711079452
sourceHash: 1363b2dbb69b1ccceae328ae3cc8d926f849af3f73963496fa59474f65cd2223
sourceHashType: sha256
sourcePath: cluster-metal/cilium
buildHash: 25f957459d37d07115ce673a30b7698dae2d870fd7e6d3ea87a88a2d19b3ee10
buildHash: ed19954f19c9d5e04a5d10bbaf98d320aabac47493a7af02daef2c382a3a5093
buildHashType: sha256
buildPath: builds/in-cluster/cilium
cluster: in-cluster
Expand Down
25 changes: 25 additions & 0 deletions builds/in-cluster/cilium/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16588,6 +16588,31 @@ metadata:
spec:
controllerName: io.cilium/gateway-controller
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: http-hubble-ui
namespace: kube-system
spec:
hostnames:
- hubble.shamrock.systems
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: http-gateway
namespace: kube-system
rules:
- backendRefs:
- group: ""
kind: Service
name: hubble-ui
port: 80
weight: 1
matches:
- path:
type: PathPrefix
value: /
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
Expand Down
23 changes: 23 additions & 0 deletions cluster-metal/cilium/httproute.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: http-hubble-ui
namespace: kube-system
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: http-gateway
namespace: kube-system
hostnames: [hubble.shamrock.systems]
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- group: ""
kind: Service
name: hubble-ui
port: 80
weight: 1
1 change: 1 addition & 0 deletions cluster-metal/cilium/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resources:
- ./gatewayclass.yaml
- ./gateway.yaml
- ./grafanadashboard.yaml
- ./httproute.yaml

helmCharts:
- releaseName: cilium
Expand Down

0 comments on commit a00d135

Please sign in to comment.