28 lines
594 B
YAML
28 lines
594 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: kserve-ingress-gateway
|
|
namespace: kserve
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: kserve-letsencrypt
|
|
spec:
|
|
gatewayClassName: envoy
|
|
listeners:
|
|
- name: http
|
|
protocol: HTTP
|
|
port: 80
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|
|
- name: https
|
|
protocol: HTTPS
|
|
port: 443
|
|
tls:
|
|
mode: Terminate
|
|
certificateRefs:
|
|
- kind: Secret
|
|
name: kserve-ingress-gateway-https
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|