mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 18:59:09 +00:00
This change adds support for TCPRoutes when using a private gateway class. This is similar to annotating services today. It also moves the gateway classes to the Helm chart as it makes things a lot simpler for the end user as they no longer have to define them. Signed-off-by: Philip Laine <philip.laine@gmail.com>
31 lines
576 B
YAML
31 lines
576 B
YAML
apiVersion: netbird.io/v1
|
|
kind: NBRoutingPeer
|
|
metadata:
|
|
name: netbird
|
|
namespace: netbird
|
|
spec: {}
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: private
|
|
namespace: netbird
|
|
spec:
|
|
gatewayClassName: netbird-private
|
|
listeners:
|
|
- protocol: gateway.netbird.io/NBRoutingPeer
|
|
name: netbird
|
|
port: 1
|
|
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: public
|
|
namespace: netbird
|
|
spec:
|
|
gatewayClassName: netbird-public
|
|
listeners:
|
|
- protocol: gateway.netbird.io/NBRoutingPeer
|
|
name: netbird
|
|
port: 1
|