Commit 611b841
authored
docs(talm): init reference + operator extension points (#537)
## What
Expand section 2.1 "Initialize Configuration" of the talm install guide
(`/docs/v1.3` and `/docs/next`) with the missing operator-facing detail
that has been driving questions on the support channel:
- Project layout: now lists `secrets.encrypted.yaml`,
`talosconfig.encrypted`, and `talm.key` (the previous list mentioned
only `secrets.yaml`, leaving operators unsure why the project also ships
encrypted counterparts and a key file).
- Available presets: names the two embedded presets (`cozystack`,
`talm`) so operators stop guessing the `--preset` argument.
- Flag reference grouped by mode (new project / update / encrypt /
decrypt) with exact short and long forms.
- "Updating to a newer talm release" subsection covering interactive vs
`--force` (CI) invocations of `talm init --update`.
- "Encrypt / decrypt round-trip" subsection with a note about backing up
`talm.key` out-of-band.
## Why
The current section is a single quick-start example and a directory
listing. Operators reading the guide do not know which flags `talm init`
supports beyond `--preset` / `--name`, how `--update` interacts with
their customisations, or how the encrypt / decrypt round-trip works.
`talm init -h` lists the flags but doesn't explain semantics or which
preset names are valid.
Source-of-truth for flags: `cozystack/talm` `pkg/commands/init.go` on
`main`. Preset list: `cozystack/talm` `pkg/generated/embed.go`.
## Where
- `content/en/docs/v1.3/install/kubernetes/talm.md` (current stable)
- `content/en/docs/next/install/kubernetes/talm.md` (unreleased)
Older versions (`v0` / `v1.0` / `v1.1` / `v1.2`) are historical
snapshots and intentionally left untouched.
## Update: operator extension points (Talm v0.30+)
The four `extra*` values keys exposed in Talm v0.30
(`extraKernelModules`, `extraKubeletExtraArgs`, `extraSysctls`,
`extraMachineFiles`) let operators add to the cozystack preset's curated
machine.* defaults without forking the chart. Documented in section 2.2
of the install guide with the append vs collision-rejection semantics
and a values.yaml example. Mirrored across `/docs/v1.3` and `/docs/next`
since talm stays floating on `latest` per the version-pin policy in this
repo.
Source-of-truth for the keys and semantics: `cozystack/talm`
`charts/cozystack/templates/_helpers.tpl` and
`charts/cozystack/values.yaml` on `main`.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Expanded Talm initialization docs with details on encrypted outputs
and key backup/management
* Added an “Available Presets” section and a grouped flag reference for
init/update/encrypt-decrypt workflows
* Included examples for refreshing preset-supplied charts and an
encrypt/decrypt round trip
* Updated node generation guidance to use the --nodes flag and to create
a nodes directory
<!-- review_stack_entry_start -->
[](https://app.coderabbit.ai/change-stack/cozystack/website/pull/537)
<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->2 files changed
Lines changed: 194 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
98 | 165 | | |
99 | 166 | | |
100 | 167 | | |
| |||
131 | 198 | | |
132 | 199 | | |
133 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
134 | 228 | | |
135 | 229 | | |
136 | 230 | | |
| |||
162 | 256 | | |
163 | 257 | | |
164 | 258 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
168 | 262 | | |
169 | 263 | | |
170 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
98 | 165 | | |
99 | 166 | | |
100 | 167 | | |
| |||
131 | 198 | | |
132 | 199 | | |
133 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
134 | 228 | | |
135 | 229 | | |
136 | 230 | | |
| |||
162 | 256 | | |
163 | 257 | | |
164 | 258 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
168 | 262 | | |
169 | 263 | | |
170 | 264 | | |
| |||
0 commit comments