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

service profile generation work offline using --ignore-cluster #5482

Merged
merged 6 commits into from
Jan 9, 2021

Conversation

piyushsingariya
Copy link
Contributor

Subject
Related to issue #5401

Problem
Introduce offline profile generation to skip the access check to k8s cluster

Solution
the profile command be updated to support the --ignore-cluster flag to skip the check and generate a profile offline
Introduced a new boolean variable ignoreCluster to trigger offline profile generation

Fixes #[GitHub issue ID]
#5401

Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
@piyushsingariya piyushsingariya requested a review from a team as a code owner January 6, 2021 12:37
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
cli/cmd/profile.go Show resolved Hide resolved
cli/cmd/profile.go Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@piyushsingariya
Copy link
Contributor Author

@adleong Cool, I am working on this :)

Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Copy link
Contributor

@kleimkuhler kleimkuhler left a comment

Choose a reason for hiding this comment

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

I have two smaller comments but rest is looking good. Thanks @piyushsingariya!

cli/cmd/profile.go Outdated Show resolved Hide resolved
cli/cmd/profile.go Outdated Show resolved Hide resolved
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Copy link
Contributor

@kleimkuhler kleimkuhler left a comment

Choose a reason for hiding this comment

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

Thanks @piyushsingariya 👍

Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

Great work!

@piyushsingariya
Copy link
Contributor Author

Thanks, @adleong @kleimkuhler 😄

@purkhusid
Copy link

Awesome work @piyushsingariya!

@piyushsingariya
Copy link
Contributor Author

Thanks! @purkhusid 😅

@cpretzer cpretzer merged commit b5dddf5 into linkerd:main Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants