29 lines
584 B
YAML
29 lines
584 B
YAML
kind: Gateway
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
metadata:
|
|
name: http
|
|
namespace: kgateway-system
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "cloudflare-cluster-issuer"
|
|
spec:
|
|
gatewayClassName: kgateway
|
|
listeners:
|
|
- protocol: HTTP
|
|
port: 80
|
|
name: http
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
- protocol: HTTPS
|
|
port: 443
|
|
name: https
|
|
hostname: "*.homelab-test.hnrx.net"
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: homelab-test-hnrx-net-tls
|
|
|