Skip to content

Commit d5e0162

Browse files
author
lb0o
committed
[docs] update README with --offline flag and --full flags for validating template rendering
Signed-off-by: lb0o <lb0o@nocilo.com>
1 parent 018414f commit d5e0162

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ Gather node information:
5656
talm -n 1.2.3.4 -e 1.2.3.4 template -t templates/controlplane.yaml -i > nodes/node1.yaml
5757
```
5858

59+
If you are testing template rendering you can pass the flag --offline. Also using the --full flag will generate a complete configuration, usefull for testing proper rendering of the templates.
60+
```bash
61+
talm template -t templates/controlplane.yaml --full -i > nodes/cp1.yaml --offline
62+
talm template -t templates/worker.yaml --full -i > nodes/worker1.yaml --offline
63+
```
64+
5965
Edit `nodes/node1.yaml` file:
6066
```yaml
6167
# talm: nodes=["1.2.3.4"], endpoints=["1.2.3.4"], templates=["templates/controlplane.yaml"]

0 commit comments

Comments
 (0)