docs: Use go install for reg* tools#2348
Merged
Merged
Conversation
bschimke95
commented
Jan 30, 2026
cbc9df0 to
52c2e09
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the dependency on wrapper scripts (regctl.sh and regsync.sh) for registry client tools by having users install the tools directly using go install. This simplifies the build process and removes the need for the k8s-snap source code when using these tools.
Changes:
- Modified test setup script to install
regctlon-demand usinggo installinstead of using a wrapper script - Updated documentation to instruct users to install
regctlandregsyncdirectly viago installinstead of using wrapper scripts - Removed references to the now-deleted wrapper scripts
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/integration/lxd/setup-image.sh | Replaces wrapper script path with on-demand installation of regctl binary using go install |
| docs/canonicalk8s/snap/howto/install/offline.md | Updates offline installation instructions to use direct go install commands for regctl and regsync tools, removes references to deleted wrapper scripts |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We remove the k8sd tools in canonical/k8sd#10
Instead, we now instruct the user to install the required tools with
go install.Backport
Not required. We move k8sd out of the snap with the upcoming release.
Checklist
type: title