feat(k8s-peterg): Enable HTTPS/TLS
This commit is contained in:
parent
0a45af4610
commit
3116815125
5 changed files with 51 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue