46 lines
1006 B
YAML
46 lines
1006 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: GatewayClass
|
|
metadata:
|
|
name: traefik
|
|
spec:
|
|
controllerName: traefik.io/gateway-controller
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: traefik-gateway
|
|
namespace: traefik
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
spec:
|
|
gatewayClassName: traefik
|
|
listeners:
|
|
- name: web
|
|
port: 80
|
|
protocol: HTTP
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
- name: websecure-auth
|
|
hostname: auth.solidish.dev
|
|
port: 443
|
|
protocol: HTTPS
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: auth-solidish-dev-tls
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
- name: websecure-grafana
|
|
hostname: grafana.solidish.dev
|
|
port: 443
|
|
protocol: HTTPS
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: grafana-solidish-dev-tls
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|