From 41d995671f55d790a4f4e1c37da8c9e41a36abee Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Fri, 17 Jul 2026 11:54:10 +0200 Subject: [PATCH] Fix egress example and RBAC typo (#374) Found a typo in rbac and issue with example while preparing walk-through docs. --- View with Codesmith Autofix with Codesmith Need help on this PR? Tag /codesmith with what you need. Autofix is disabled. ## Summary by CodeRabbit * **Bug Fixes** * Corrected permissions for accessing NetworkEgress status resources. * **Examples** * Updated the NetworkEgress example to target a service by fully qualified domain name instead of a static IP address. --- charts/netbird-operator/templates/rbac.yaml | 2 +- examples/network/networkegress.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/netbird-operator/templates/rbac.yaml b/charts/netbird-operator/templates/rbac.yaml index 2b2873b..5f28abd 100644 --- a/charts/netbird-operator/templates/rbac.yaml +++ b/charts/netbird-operator/templates/rbac.yaml @@ -60,7 +60,7 @@ rules: - groups/status - networkrouters/status - networkresources/status - - networkregresses/status + - networkegresses/status - sidecarprofiles/status - clusterproxies/status verbs: diff --git a/examples/network/networkegress.yaml b/examples/network/networkegress.yaml index f5a9b08..4e6f6fb 100644 --- a/examples/network/networkegress.yaml +++ b/examples/network/networkegress.yaml @@ -8,8 +8,8 @@ spec: name: prod namespace: netbird target: - ip: - address: 10.96.92.40 + fqdn: + hostname: nginx.default.prod.company.internal ports: - name: http port: 80