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
Multidoc YAML configurations after the first document are incorrectly indented 4 spaces
Description
if you edit the machine config and append a new document for the ingress firewall rules, it displays correctly with talosctl edit mc, but the output of talosctl get mc will show the documents after the first YAML doc incorrectly indented, which breaks processing with yq.
The multi-docs are applied correctly by Talos - it is just in display they are mal-formatted.
Logs
e.g. append a YAML document End via editing the machine config thus:
Bug Report
Multidoc YAML configurations after the first document are incorrectly indented 4 spaces
Description
if you edit the machine config and append a new document for the ingress firewall rules, it displays correctly with
talosctl edit mc
, but the output oftalosctl get mc
will show the documents after the first YAML doc incorrectly indented, which breaks processing withyq
.The multi-docs are applied correctly by Talos - it is just in display they are mal-formatted.
Logs
e.g. append a YAML document End via editing the machine config thus:
and it will show thus via
get mc -o yaml
Environment
kubectl version --short
]talosctl
and alsoomnictl get redactedclustermachineconfig
The text was updated successfully, but these errors were encountered: