lumfao.dubyatp.xyz: migrate to gateway api

This commit is contained in:
williamp committed 2026-10-11 12:45:08 -04:00
1 parent ec55cfe717
commit b68b6916aa
3 files changed
+37 -22

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: traefik
spec:
gatewayClassName: traefik
listeners:
- name: https
protocol: HTTPS
port: 8443
tls:
mode: Terminate
certificateRefs:
- name: cert-dubyatp-xyz
namespace: cert-manager
allowedRoutes:
namespaces:
from: Same
+19
View File
@@ -0,0 +1,19 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: lumfao-dubyatp-xyz
spec:
parentRefs:
- name: traefik
sectionName: https
kind: Gateway
hostnames:
- lumfao.dubyatp.xyz
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: lumfao-dubyatp-xyz-svc
port: 80
-22
View File
@@ -1,22 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: lumfao-dubyatp-xyz-ingress
labels:
name: lumfao-dubyatp-xyz-ingress
spec:
rules:
- host: lumfao.dubyatp.xyz
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: lumfao-dubyatp-xyz-svc
port:
number: 80
tls:
- hosts:
- lumfao.dubyatp.xyz
secretName: cert-dubyatp-xyz