move gateway

This commit is contained in:
2025-03-02 12:38:20 -06:00
parent e6183d01f2
commit 33027873ae
2 changed files with 13 additions and 13 deletions

View File

@@ -1,10 +1,10 @@
apiVersion: gateway.networking.k8s.io/v1 apiVersion: gateway.networking.k8s.io/v1
kind: Gateway kind: Gateway
metadata: metadata:
name: https-gateway name: headlamp-https-gateway
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
labels: labels:
app.kubernetes.io/name: https-gateway app.kubernetes.io/name: headlamp-https-gateway
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web app.kubernetes.io/component: web
@@ -20,17 +20,17 @@ spec:
- name: https - name: https
protocol: HTTPS protocol: HTTPS
port: 443 port: 443
hostname: "*.alexlebens.net" hostname: headlamp.alexlebens.net
allowedRoutes: # allowedRoutes:
namespaces: # namespaces:
from: Selector # from: Selector
selector: # selector:
matchLabels: # matchLabels:
https-gateway-access: "true" # https-gateway-access: "true"
tls: tls:
mode: Terminate mode: Terminate
certificateRefs: certificateRefs:
- group: '' - group: ''
kind: Secret kind: Secret
name: https-gateway-cert name: https-gateway-headlamp-cert
namespace: kube-system namespace: headlamp

View File

@@ -13,8 +13,8 @@ spec:
parentRefs: parentRefs:
- group: gateway.networking.k8s.io - group: gateway.networking.k8s.io
kind: Gateway kind: Gateway
name: https-gateway name: headlamp-https-gateway
namespace: kube-system namespace: headlamp
sectionName: https sectionName: https
hostnames: hostnames:
- headlamp.alexlebens.net - headlamp.alexlebens.net