Skip to content
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

Replace troubleshoot.io with troubleshoot.sh #4247

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

xavpaice
Copy link
Member

Relates to: replicatedhq/troubleshoot#1070

What this PR does / why we need it:

This changes references to troubleshoot.io in Support Bundle types to troubleshoot.sh. The reason for this is that the Troubleshoot project does not own troubleshoot.io.

Which issue(s) this PR fixes:

Fixes Troubleshoot #1070

Special notes for your reviewer:

Note that this changes the label stored on secrets that contain support bundles. This should be reviewed alongside replicatedhq/troubleshoot#1075

Steps to reproduce

Does this PR introduce a user-facing change?

Support-bundle specs stored in-cluster prior to this change were stored with a label `"troubleshoot.io/kind=support-bundle"`.  The label was used as a default setting for the Troubleshoot command to search for support bundles.  As of release 0.60.0, Troubleshoot searches for `"troubleshoot.sh/kind=support-bundle"`.  The label has been updated in this change to match the new search value.

Does this PR require documentation?

NONE

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Copy link
Member

@banjoh banjoh left a comment

Choose a reason for hiding this comment

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

This is going to be a tricky upgrade. What happens if an older installer is used, say a versioned one such as https://kurl.sh/version/v2023.03.21-0/latest? The installer points to bundled support-bundle and preflight binaries that end up installed as kubectl plugins.

Making this changes would mean discovery using older troubleshoot binaries will seize to work.

@banjoh
Copy link
Member

banjoh commented Mar 24, 2023

This is going to be a tricky upgrade. What happens if an older installer is used, say a versioned one such as https://kurl.sh/version/v2023.03.21-0/latest? The installer points to bundled support-bundle and preflight binaries that end up installed as kubectl plugins.

Making this changes would mean discovery using older troubleshoot binaries will seize to work.

My suggestion is we have both labels in the spec until we are confident that there are no specs out there with the old label i.e deprecate, but not remove

Adds new 'troubleshoot.sh' label to flannel troubleshoot specs,
note that the old 'troubleshoot.io' label is maintained for
backward compatibility.
@xavpaice
Copy link
Member Author

I've updated the change to preserve the existing labels, and add a new one

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@xavpaice xavpaice requested a review from banjoh April 12, 2023 06:00
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@xavpaice
Copy link
Member Author

replicatedhq/troubleshoot#1203 added the default support for the 'old' label as well as the corrected one, this PR is now safe to add to kURL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

default in-cluster label references a domain that is not registered
3 participants