-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix broken documentation URLs in CLI commands #14651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Beza <[email protected]>
adleong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this fix!
|
Hi @adleong and @cratelyn , I saw that this workflow failed: linkerd/linkerd2/actions/runs/19178511645 Do I need to do anything? |
you're good to go! a test had flaked, and just needed to be run once again. this is now merged! thank you again for opening this pull request, and for your patience, @bezarsnba. |
## Problem Several CLI commands contain documentation URLs that return 404 errors because they reference non-existent README.md files in chart directories. This creates a poor user experience when developers try to access configuration documentation through CLI help commands. The affected commands are: - linkerd upgrade: references charts/linkerd2/README.md - linkerd multicluster install: references linkerd-multicluster/README.md - linkerd multicluster link: references linkerd-multicluster-link/README.md - Chart documentation template also references broken README links ## Solution Updated all affected CLI help text and chart documentation to point directly to the corresponding values.yaml files, which contain the actual configurable values that users need. Changes made: - Fixed URL in cli/cmd/upgrade.go from charts/linkerd2/README.md to charts/linkerd-control-plane/values.yaml - Fixed URL in multicluster/cmd/install.go from linkerd-multicluster/README.md to linkerd-multicluster/values.yaml - Fixed URL in multicluster/cmd/link.go from linkerd-multicluster-link/README.md to linkerd-multicluster-link/values.yaml - Updated chart template in charts/linkerd-control-plane/README.md.gotmpl to reference values.yaml files Validation Manually tested the following commands to verify help text shows correct URLs: - linkerd upgrade --help - linkerd multicluster install --help - linkerd multicluster link --help Verified that all updated URLs now point to existing files containing configuration documentation. Fix: linkerd#14652 Signed-off-by: Beza <[email protected]> Signed-off-by: Ivan Porta <[email protected]>
Problem
Several CLI commands contain documentation URLs that return 404 errors because they reference non-existent README.md files in chart directories. This creates a poor user experience when developers try to access
configuration documentation through CLI help commands.
The affected commands are:
Solution
Updated all affected CLI help text and chart documentation to point
directly to the corresponding values.yaml files, which contain the
actual configurable values that users need.
Changes made:
charts/linkerd-control-plane/values.yaml
to linkerd-multicluster/values.yaml
to linkerd-multicluster-link/values.yaml
to reference values.yaml files
Validation
Manually tested the following commands to verify help text shows correct URLs:
Verified that all updated URLs now point to existing files containing
configuration documentation.
Fix: #14652