This commit is contained in:
parent
5ac8555851
commit
5d9fad10de
@ -23,6 +23,9 @@ spec:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
name: tcp-gw
|
||||
# allowedRoutes:
|
||||
# namespaces:
|
||||
# from: All
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
kinds:
|
||||
- kind: TCPRoute
|
||||
|
@ -1,20 +1,20 @@
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1beta1
|
||||
apiVersion: gateway.networking.k8s.io/v1alpha2
|
||||
kind: TCPRoute
|
||||
metadata:
|
||||
name: tcp-kafka
|
||||
namespace: kafka
|
||||
spec:
|
||||
hostnames:
|
||||
- kafka.guaranteedstruggle.host
|
||||
#hostnames:
|
||||
#- kafka.guaranteedstruggle.host
|
||||
parentRefs:
|
||||
- name: my-gateway
|
||||
namespace: default
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: kafka-service
|
||||
- backendRefs:
|
||||
- name: kafka
|
||||
port: 9092
|
||||
#matches:
|
||||
#- path:
|
||||
# type: PathPrefix
|
||||
# value: /
|
||||
|
Loading…
Reference in New Issue
Block a user