27 lines
529 B
YAML
27 lines
529 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: gateway
|
|
namespace: nearle
|
|
labels:
|
|
app.kubernetes.io/name: gateway
|
|
app.kubernetes.io/part-of: nearle
|
|
spec:
|
|
gatewayClassName: standard
|
|
listeners:
|
|
- name: http
|
|
protocol: HTTP
|
|
port: 8202
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: Same
|
|
- name: https
|
|
protocol: HTTPS
|
|
port: 8442
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: Same
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- name: nearle-tls-cert |