feat(k8s-peterg): Enable HTTPS/TLS

This commit is contained in:
Peter 2025-11-10 15:33:29 +01:00
parent 0a45af4610
commit 3116815125
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
5 changed files with 51 additions and 22 deletions

View file

@ -1,19 +1,19 @@
# ---
# apiVersion: gateway.networking.k8s.io/v1
# kind: HTTPRoute
# metadata:
# name: http-filter-redirect
# spec:
# parentRefs:
# - name: shared
# sectionName: http
# - name: internal
# sectionName: http
# rules:
# - filters:
# - type: RequestRedirect
# requestRedirect:
# scheme: https
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-filter-redirect
spec:
parentRefs:
- name: public
sectionName: http
- name: internal
sectionName: http
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
@ -24,9 +24,9 @@ spec:
parentRefs:
- name: internal
namespace: kube-system
sectionName: http
sectionName: https
hostnames:
- "hubble.k8s.peterg.nl"
- "hubble.peterg.nl"
rules:
- backendRefs:
- name: hubble-ui