You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add the ability to have multiple zerotier network to join
Simple addition to be able to join multiple zerotier networks.
Signed-off-by: Hugo Meyronneinc <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
The extension can be configured through environment variables:
42
42
43
-
-`ZEROTIER_NETWORK`: The network ID to join (required)
43
+
-`ZEROTIER_NETWORK`: The network ID to join (required, you can also specify multiple network by separting them with ",")
44
44
-`ZEROTIER_IDENTITY_SECRET`: Optional pre-existing identity to use (format: "address:0:public:private")
45
45
-`ZEROTIER_PLANET`: Optional pre-existing planet file encoded in base64
46
46
@@ -58,6 +58,19 @@ environment:
58
58
- ZEROTIER_IDENTITY_SECRET=<identity string>
59
59
```
60
60
61
+
### Join multiple network
62
+
63
+
If you want to join multiple zerotier network, you can use the following format:
64
+
65
+
```yaml
66
+
---
67
+
apiVersion: v1alpha1
68
+
kind: ExtensionServiceConfig
69
+
name: zerotier
70
+
environment:
71
+
- ZEROTIER_NETWORK=<your network id 1>,<your network id 2>,<your network id 3>
72
+
```
73
+
61
74
If no identity is provided, a new one will be generated automatically. (You may need to authorize this node in your Zerotier network according to your network policies before it will recieve an IP address).
0 commit comments