Skip to content

Commit b556fcd

Browse files
committed
feat: set netbird default chart values with examples and setup ingress
Signed-off-by: Sidharth Jawale <sidharth@obmondo.com>
1 parent a7d67ad commit b556fcd

10 files changed

Lines changed: 148 additions & 631 deletions
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
dependencies:
2-
- name: netbird
3-
repository: https://netbirdio.github.io/helms
4-
version: 1.9.0
5-
- name: coturn
6-
repository: https://small-hack.github.io/coturn-chart/
7-
version: 9.1.0
2+
- name: netbird
3+
repository: https://netbirdio.github.io/helms
4+
version: 1.9.0
5+
- name: coturn
6+
repository: https://small-hack.github.io/coturn-chart/
7+
version: 9.1.0
88
digest: sha256:95e0af4a295d087e5408ca0a5a0bd80952936cd6eeadf9ff15e385486b09b3ef
9-
generated: "2025-08-27T16:29:31.460521108+05:30"
9+
generated: "2025-08-27T14:25:44.243276031+05:30"

argocd-helm-charts/netbird/README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Netbird Installation
22

3-
This document outlines the steps to customize the Helm installation for Coturn and Netbird services.
4-
This installation comes up KeyCloak auth integration.
5-
The modifications include changing the Coturn service type and setting up ingress for all Netbird services.
3+
This Helm chart is for self hosting [Netbird](https://netbird.io).
4+
5+
This document outlines the steps to customize the Helm installation for Coturn and Netbird services with KeyCloak IdP.
66

77
Refer the example [values.yaml](./examples/values.yaml) for additional configurations.
8-
You can simply copy-paste the values file in your kubeaid-config, and replace the necessary values to get netbird working.
8+
You can simply copy-paste the values file in your kubeaid-config, and replace the necessary values to get Netbird working.
99

1010
## Modify Coturn Service Configuration
1111

@@ -26,7 +26,7 @@ This will use gRPC protocol.
2626
netbird:
2727
<service-name>:
2828
service:
29-
port: 80
29+
port: <service-port>
3030
ingress:
3131
enabled: true
3232
annotations:
@@ -105,11 +105,36 @@ Relays:
105105
[rels://vpn.example.com:443/relay] is Available
106106
Nameservers:
107107
FQDN: viljkid.netbird.selfhosted
108-
NetBird IP: 100.94.110.131/16
108+
NetBird IP: <sensitive>
109109
Interface type: Kernel
110110
Quantum resistance: false
111111
Lazy connection: false
112112
Networks: 10.96.0.0/16
113113
Forwarding rules: 0
114114
Peers count: 1/2 Connected
115115
```
116+
117+
## Troubleshooting
118+
119+
### GET /api/users status 401
120+
121+
Netbird caches the Keycloak users locally. If it is not able to fetch the users from Keycloak, it throws an error with
122+
123+
```log
124+
unable to get keycloak token, statusCode 401
125+
```
126+
127+
**Solution:**
128+
129+
- Set the log level to Debug for the netbird-management pod with `--log-level=debug` as the container arg
130+
- Check the pod logs about token not found
131+
- Check if the service account `netbird-backend` has the permission to `view-users` in Keycloak
132+
- Check if the `AdminEndpoint` in the IdPManagerConfig is correct `https://keycloak.example.com/auth/admin/realms/netbird`
133+
134+
Once this is correct, Netbird pod should be able to warm up the cache and fetch user IDs.
135+
136+
## References and External Links
137+
138+
- https://docs.netbird.io/about-netbird/how-netbird-works
139+
- https://docs.netbird.io/selfhosted/identity-providers#keycloak
140+
- https://docs.netbird.io/selfhosted/troubleshooting

argocd-helm-charts/netbird/Readme.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

argocd-helm-charts/netbird/examples/values-keycloak.yaml

Lines changed: 0 additions & 210 deletions
This file was deleted.

0 commit comments

Comments
 (0)