50 lines
No EOL
1.1 KiB
YAML
50 lines
No EOL
1.1 KiB
YAML
---
|
|
kind: Gateway
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
metadata:
|
|
name: contour
|
|
namespace: projectcontour
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
spec:
|
|
gatewayClassName: contour
|
|
listeners:
|
|
- name: ssh
|
|
protocol: TCP
|
|
port: 22
|
|
allowedRoutes:
|
|
kinds:
|
|
- kind: TCPRoute
|
|
namespaces:
|
|
from: All
|
|
- name: http
|
|
protocol: HTTP
|
|
port: 80
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
- name: https
|
|
hostname: "*.icb4dc0.de"
|
|
port: 443
|
|
protocol: HTTPS
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: wildcard-icb4dc0-de
|
|
- name: coder-port-forwards
|
|
hostname: "*.ide.icb4dc0.de"
|
|
port: 443
|
|
protocol: HTTPS
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: Selector
|
|
selector:
|
|
matchLabels:
|
|
kubernetes.io/metadata.name: coder
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: coder-port-forwards |