-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
What would you like to be added (User Story)?
As a clusterctl user I would like clusterctl -v=10
to dump the metadata.yaml
content for each provider release so that I can understand what is happening under the hood and file accurate GitHub issues when something goes wrong.
Detailed Description
Currently, even with -v=10
, clusterctl
does not surface enough context during provider download.
When provider metadata is malformed or incompatible, only generic errors are shown, leaving users guessing and preventing well-formed bug reports.
This feature proposes:
- Emitting the raw
metadata.yaml
content at log levelV(10)
during download.
Benefits:
- Transparency – users and operators gain immediate insight into what metadata
clusterctl
is processing. - Faster debugging – developers can reproduce and diagnose issues from a single log bundle.
- Better issue quality – users can attach the dumped
metadata.yaml
, reducing back-and-forth.
Anything else you would like to add?
Verbose logs are valuable not only for developers but also for end-users operating clusterctl
in CI/CD pipelines or air-gapped environments.
Without this visibility, errors such as “failed to parse metadata” are hard to triage, leading to incomplete or incorrect issue reports.
Label(s) to be applied
/kind feature
/area clusterctl