-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: Add new command to check local-source-proxy status #524
Conversation
Codecov Report
@@ Coverage Diff @@
## main #524 +/- ##
==========================================
- Coverage 85.95% 85.65% -0.31%
==========================================
Files 65 69 +4
Lines 4123 4265 +142
==========================================
+ Hits 3544 3653 +109
- Misses 453 477 +24
- Partials 126 135 +9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
$ tanzu apps local-source-proxy health
user_has_permission: false
reachable: false
upstream_authenticated: false
overall_health: false
message: -|
The current user does not have permission to access the local source proxy
- services "http:local-source-proxy:5001" is forbidden: User "***@vmware.com" cannot get resource "services/proxy" in API group "" in the namespace "tap-local-source-system": requires one of ["container.services.proxy"] permission(s). |
Please rebase as there is a conflict with main branch |
Signed-off-by: Wendy Arango <warango@vmware.com> Signed-off-by: Diego Alfonso <dalfonso@vmware.com> Co-authored-by: Wendy Arango <warango@vmware.com> Co-authored-by: Diego Alfonso<dalfonso@vmware.com> Signed-off-by: Diego Alfonso <dalfonso@vmware.com>
Signed-off-by: Diego Alfonso <dalfonso@vmware.com>
Signed-off-by: Diego Alfonso <dalfonso@vmware.com>
Signed-off-by: Diego Alfonso <dalfonso@vmware.com>
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.
LGTM
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.
lgtm
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.
LGTM
Pull request
What this PR does / why we need it
Although in TAP 1.6+, LSP will be provisioned by default on TAP iterate clusters, we can’t assume developers will always be pointing to a TAP env where LSP exists or is running/healthy.
This PR provides an apps command that can be invoked by the IDE extensions to determine whether LSP is installed/healthy
A new CLI command that checks:
Which issue(s) this PR fixes
Fixes #523
Describe testing done for PR
Testing against installation from the source code of Local Source Proxy, causing the scenarios described in the outputs
Check comment below
Additional information or special notes for your reviewer