docs: node-files.md shows a pre-v1.12 node file as the freshly written one

Aperta
#258 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
kubernetes
Ambito
documentation

Direzione di ricerca

Start with the "Anatomy" section of docs/configuration/node-files.md, whose first example shows the single-document v1.12-style node file. Check which Talos contract the presets pin on main (v1.12 and v1.13, with v1.14 pending in #253) to see how the rendered documents differ. Done means the example either states its contract or is replaced with a v1.14 render that includes the HostnameConfig, ResolverConfig and LinkConfig documents.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The first example on the node-files page shows a format talm no longer writes by default. The "Anatomy" section of docs/configuration/node-files.md calls it a freshly written nodes/node1.yaml, but it carries machine.network.interfaces, nameservers and cluster.clusterName, which is the single-document shape talm renders below Talos v1.12.

The presets pin v1.12 and v1.13 on main, and v1.14 once #253 lands. A node file rendered at those contracts has HostnameConfig, ResolverConfig and LinkConfig documents, and from v1.14 KubeClusterConfig and the other Kubernetes documents instead of the cluster fields. A reader comparing their own file with the page sees two different formats and nothing says which contract the example belongs to.

Either label the example with its contract or replace it with a v1.14 render.

Lingua principale
Go
Stelle
493
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cozystack/talm

Tutte le issue di cozystack/talm

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.