Skip to content

feat(troubleshoot): support for distribution kind #4539

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

Merged

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Apr 8, 2024

What this PR does / why we need it:

Upgrades the troubleshoot package with kind support for distribution analyzer to better support all CMX distros.

Which issue(s) this PR fixes:

Fixes #
[sc-102282]

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

The troubleshoot distribution analyzer now has support for distribution Kind.

Does this PR require documentation?

@emosbaugh emosbaugh added the type::feature New feature or request label Apr 8, 2024
@emosbaugh emosbaugh marked this pull request as draft April 8, 2024 13:45
@emosbaugh emosbaugh force-pushed the emosbaugh/sc-102282/distribution-analyzer-should-support-kind branch 2 times, most recently from ab9b00d to 7837ec1 Compare April 8, 2024 15:32
@emosbaugh emosbaugh force-pushed the emosbaugh/sc-102282/distribution-analyzer-should-support-kind branch from 95833aa to c671bbd Compare April 8, 2024 18:36
@emosbaugh emosbaugh marked this pull request as ready for review April 8, 2024 19:29
go.mod Outdated
Comment on lines 432 to 436
// This is the only way I could get these two to play nice together
replace (
github.com/replicatedhq/troubleshoot => github.com/replicatedhq/troubleshoot v0.86.0
github.com/vmware-tanzu/velero => github.com/vmware-tanzu/velero v1.10.0-rc.1.0.20240408090904-54462c4f7bb5
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was weird

@@ -11,8 +11,8 @@ import (

"github.com/containers/image/v5/pkg/docker/config"
"github.com/containers/image/v5/types"
"github.com/distribution/distribution/v3/registry/client/auth/challenge"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this package is now internal

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason behind needing to make this one internal?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.com/distribution/distribution has made it internal so we can no longer import it

https://github.com/distribution/distribution/tree/bc6e81e1b9a8017a66fc56a55913b92930941feb/internal/client/auth/challenge

@emosbaugh emosbaugh merged commit 260aae6 into main Apr 8, 2024
@emosbaugh emosbaugh deleted the emosbaugh/sc-102282/distribution-analyzer-should-support-kind branch April 8, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants