Files
infrastructure/clusters/cl01tl/standalone/cilium/templates/gateway.yaml
2025-03-02 02:16:48 -06:00

32 lines
853 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: https-gateway
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: https-gateway
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: web
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
cert-manager.io/cluster-issuer: letsencrypt-issuer
spec:
gatewayClassName: cilium
listeners:
- name: https
protocol: HTTPS
port: 443
hostname: '*.alexlebens.net'
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
https-gateway-access: "true"
tls:
certificateRefs:
- group: ''
kind: Secret
name: https-gateway-cert