diff --git a/manifests/00-system-stuff/tcp-gateway.yaml b/manifests/00-system-stuff/tcp-gateway.yaml deleted file mode 100644 index 985e488..0000000 --- a/manifests/00-system-stuff/tcp-gateway.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: Gateway -metadata: - name: my-tcp-gateway - labels: - color: coral -spec: - gatewayClassName: cilium - # addresses: - # - value: "0.0.0.0" - # - type: IPAddress - # value: 192.168.0.105 - # - type: IPAddress - # value: 10.0.10.251 - listeners: - - protocol: TCP - port: 11180 - name: tcp-gw - # allowedRoutes: - # namespaces: - # from: All - allowedRoutes: - #kinds: - #- group: gateway.networking.k8s.io/v1alpha2 - # kind: TCPRoute - namespaces: - from: All diff --git a/manifests/04-routes/httproute-kafka.yaml b/manifests/04-routes/httproute-kafka.yaml new file mode 100644 index 0000000..309a8b1 --- /dev/null +++ b/manifests/04-routes/httproute-kafka.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: gateway.networking.k8s.io/v1beta1 +kind: HTTPRoute +metadata: + name: http-kafka + namespace: kafka +spec: + hostnames: + - kafka.guaranteedstruggle.host + parentRefs: + - name: my-gateway + namespace: default + rules: + - matches: + - path: + type: PathPrefix + value: / + backendRefs: + - name: kafka + port: 9092 diff --git a/manifests/04-routes/tcproute-kafka.yaml b/manifests/04-routes/tcproute-kafka.yaml deleted file mode 100644 index 75050a7..0000000 --- a/manifests/04-routes/tcproute-kafka.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: gateway.networking.k8s.io/v1alpha2 -kind: TCPRoute -metadata: - name: tcp-kafka - namespace: kafka -spec: - #hostnames: - #- kafka.guaranteedstruggle.host - parentRefs: - - name: my-tcp-gateway - namespace: default - rules: - - backendRefs: - - name: kafka - port: 9092 - #matches: - #- path: - # type: PathPrefix - # value: /