allow gateway

This commit is contained in:
2025-03-02 02:00:38 -06:00
parent 90506191c5
commit ea9d433d2d
3 changed files with 14 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ spec:
- group: gateway.networking.k8s.io
kind: Gateway
name: https-gateway
namespace: kube-system
hostnames:
- headlamp.alexlebens.net
rules:
@@ -26,3 +27,4 @@ spec:
kind: Service
name: headlamp
port: 80
weight: 1

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: headlamp
labels:
https-gateway-access: "true"

View File

@@ -18,6 +18,12 @@ spec:
protocol: HTTPS
port: 443
hostname: '*.alexlebens.net'
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
http-gateway-access: "true"
tls:
certificateRefs:
- group: ''