From 33eb9adcd281b5c342dab0dab89ab0b906a89352 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 2 Mar 2025 21:22:11 -0600 Subject: [PATCH] add hubble route --- .../cilium/templates/http-route.yaml | 30 +++++++++++++++++++ clusters/cl01tl/standalone/cilium/values.yaml | 7 ----- 2 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 clusters/cl01tl/standalone/cilium/templates/http-route.yaml diff --git a/clusters/cl01tl/standalone/cilium/templates/http-route.yaml b/clusters/cl01tl/standalone/cilium/templates/http-route.yaml new file mode 100644 index 000000000..cba3a1516 --- /dev/null +++ b/clusters/cl01tl/standalone/cilium/templates/http-route.yaml @@ -0,0 +1,30 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: http-route-hubble + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: http-route-hubble + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/version: {{ .Chart.AppVersion }} + app.kubernetes.io/component: web + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + parentRefs: + - group: gateway.networking.k8s.io + kind: Gateway + name: traefik-gateway + namespace: traefik + hostnames: + - hubble.alexlebens.net + rules: + - matches: + - path: + type: PathPrefix + value: / + backendRefs: + - group: '' + kind: Service + name: hubble-ui + port: 80 + weight: 100 diff --git a/clusters/cl01tl/standalone/cilium/values.yaml b/clusters/cl01tl/standalone/cilium/values.yaml index fecf96425..5986d4618 100644 --- a/clusters/cl01tl/standalone/cilium/values.yaml +++ b/clusters/cl01tl/standalone/cilium/values.yaml @@ -54,13 +54,6 @@ cilium: enabled: true ingress: enabled: false - className: tailscale - hosts: - - hubble-cl01tl - tls: - - secretName: hubble-cl01tl - hosts: - - hubble-cl01tl ipam: mode: "kubernetes" ipv4: