-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi,
I want to automate some netbird creations the k8s native way and want to avoid to use terraform.
I can created groups over the crds with no problems, but if I try to create policies, some errors comes:
apiVersion: netbird.io/v1
kind: NBPolicy
metadata:
labels:
app.kubernetes.io/component: operator
app.kubernetes.io/instance: netbird-operator
app.kubernetes.io/name: kubernetes-operator
name: client-to-k8s-staging
spec:
bidirectional: false
name: client-to-k8s-staging
sourceGroups:
- staging-clients
destinationGroups:
- k8s-staging
protocols:
- tcp
ports:
- 443
- 8080
The "error":
2025-09-25T12:00:58Z INFO NBPolicy Reconciling NBPolicy {"namespace": "", "name": "client-to-k8s-staging │
│ "} │
│ 2025-09-25T12:00:58Z INFO NBPolicy 0 ports found for protocol in policy {"namespace": "", "name": "clien │
│ t-to-k8s-staging", "protocol": "tcp"}
My expectations is, that I can create policies lke groups and like in terraform.
What is the benefit? I only have to use k8s, also in a mixed envirement.
Metadata
Metadata
Assignees
Labels
No labels