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
Copy file name to clipboardExpand all lines: docs/pages/commands/kapitan_dotfile.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -61,3 +61,24 @@ which would be equivalent to always running:
61
61
```shell
62
62
kapitan inventory --inventory-path=./some_path
63
63
```
64
+
65
+
Please note that the configurations in top-level key `inventory` only have an effect when running `kapitan inventory`. If you want this configuration to also apply to other commands that take `--inventory-path` you also need to set the key in those sections in the config file.
66
+
67
+
### inventory\_backend
68
+
69
+
You may want to permanently select a non-default inventory backend. You can configure the inventory backend to use in the `inventory-backend` section of the **Kapitan** dotfile.
70
+
71
+
```yaml
72
+
inventory_backend:
73
+
inventory: reclass
74
+
```
75
+
76
+
which would be equivalent to always running
77
+
78
+
```shell
79
+
kapitan inventory --inventory-backend=reclass
80
+
```
81
+
82
+
Note that this configuration field applies to all commands that take `--inventory-backend`.
83
+
84
+
Without any custom configuration, **Kapitan** will use [reclass](https://github.com/kapicorp/reclass) as the inventory backend.
0 commit comments