Skip to content

Feat/dashboard supports random port#874

Merged
mukundansundar merged 20 commits into
dapr:masterfrom
imneov:feat/dashboard-supports-random-port
Sep 30, 2022
Merged

Feat/dashboard supports random port#874
mukundansundar merged 20 commits into
dapr:masterfrom
imneov:feat/dashboard-supports-random-port

Conversation

@imneov
Copy link
Copy Markdown
Contributor

@imneov imneov commented Jan 15, 2022

Description

  1. support dashboardLocalPort set to 0
  2. update pf.LocalPort when PortForward is Ready

Issue reference

Please reference the issue this PR will close: #863

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@imneov imneov requested review from a team as code owners January 15, 2022 01:07
柳丰 added 3 commits January 15, 2022 13:16
Signed-off-by: 柳丰 <grantliu@yunify.com>
Signed-off-by: 柳丰 <grantliu@yunify.com>
Signed-off-by: 柳丰 <grantliu@yunify.com>
@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from d8e8000 to f71c95f Compare January 15, 2022 05:16
@mukundansundar
Copy link
Copy Markdown
Collaborator

@imneov Please fix linter errors ...

imneov and others added 2 commits March 7, 2022 10:14
Copy link
Copy Markdown
Collaborator

@mukundansundar mukundansundar left a comment

Choose a reason for hiding this comment

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

@imneov Thanks for the contribution.
Overall looks good. Just some small changes.

Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 7, 2022

Codecov Report

Merging #874 (8df3aec) into master (9e07fcd) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #874      +/-   ##
==========================================
- Coverage   29.20%   29.13%   -0.08%     
==========================================
  Files          35       35              
  Lines        2359     2365       +6     
==========================================
  Hits          689      689              
- Misses       1594     1600       +6     
  Partials       76       76              
Impacted Files Coverage Δ
pkg/kubernetes/portforward.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Mar 7, 2022

@mukundansundar Thanks for the suggestions.

@mukundansundar
Copy link
Copy Markdown
Collaborator

@imneov Please do fix the DCO and the conflicts ...

@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from 575f5ee to b37fb1b Compare March 8, 2022 04:05
@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Mar 8, 2022

@imneov Please do fix the DCO and the conflicts ...

OK, It`s done.

Signed-off-by: imneov <grantliu@yunify.com>
Copy link
Copy Markdown
Collaborator

@mukundansundar mukundansundar left a comment

Choose a reason for hiding this comment

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

@imneov Almost done ... just a few small changes and linter fixes ...

Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Signed-off-by: imneov <grantliu@yunify.com>
@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Mar 10, 2022

@imneov Almost done ... just a few small changes and linter fixes ...

@mukundansundar Thank you kindly! I fix it.

@mukundansundar
Copy link
Copy Markdown
Collaborator

mukundansundar commented Apr 8, 2022

@imneov Almost done ... just a few small changes and linter fixes ...

@mukundansundar Thank you kindly! I fix it.

@imneov Let me know if you will be able to address some of the requested changes ... Thanks

Signed-off-by: 柳丰 <grantliu@yunify.com>
@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from f619819 to 96f1224 Compare April 13, 2022 01:36
@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Apr 13, 2022

@imneov Almost done ... just a few small changes and linter fixes ...

@mukundansundar Thank you kindly! I fix it.

@imneov Let me know if you will be able to address some of the requested changes ... Thanks

HI,@mukundansundar ~ I have responded to the modification in the commit below, what else should I do?

@pravinpushkar
Copy link
Copy Markdown
Contributor

LGTM
However, There will be a need to update the documentation here - https://docs.dapr.io/reference/cli/dapr-dashboard/ .
@imneov Would you be able to create a doc issue here - https://github.com/dapr/docs/issues and a small PR to update the same.

Comment thread cmd/dashboard.go
Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Comment thread pkg/kubernetes/portforward.go Outdated
Copy link
Copy Markdown
Member

@shubham1172 shubham1172 left a comment

Choose a reason for hiding this comment

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

Please address the comments.

@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from 6adc0c7 to c7bd055 Compare May 2, 2022 14:00
shubham1172
shubham1172 previously approved these changes May 9, 2022
yaron2
yaron2 previously requested changes May 9, 2022
Comment thread cmd/dashboard.go Outdated
Signed-off-by: 柳丰 <grantliu@yunify.com>
@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from 5f3f852 to 2bbac25 Compare May 12, 2022 01:07
@dapr-bot
Copy link
Copy Markdown
Collaborator

dapr-bot commented Jul 9, 2022

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Jul 9, 2022
@dapr-bot
Copy link
Copy Markdown
Collaborator

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot closed this Jul 16, 2022
@pravinpushkar pravinpushkar reopened this Aug 1, 2022
@dapr-bot dapr-bot removed the stale label Aug 1, 2022
@pravinpushkar
Copy link
Copy Markdown
Contributor

@imneov Please update the branch and resolve the conflicts. Additionally, Please update the documentation also.

imneov and others added 4 commits August 30, 2022 17:31
… not directly with fmt.Sprintf (nosprintfhostport)

Signed-off-by: liufeng <liuf@kubesphere.io>
Signed-off-by: liufeng <liuf@kubesphere.io>
@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Sep 10, 2022

@imneov Please update the branch and resolve the conflicts. Additionally, Please update the documentation also.

@pravinpushkar It's done.

Signed-off-by: liufeng <liuf@kubesphere.io>
@imneov imneov force-pushed the feat/dashboard-supports-random-port branch from 0e95af5 to 60d94c4 Compare September 26, 2022 01:56
@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Sep 27, 2022

@pravinpushkar HI~ Is there anything else I need to do?

@pravinpushkar
Copy link
Copy Markdown
Contributor

@pravinpushkar HI~ Is there anything else I need to do?

There are few PR checks failing, could you please have a look? For now I have re-triggered some of them. Hopefully E2E- Upgrade path tests should pass as it looked temporary failure. But other one should not have failed.

@imneov
Copy link
Copy Markdown
Contributor Author

imneov commented Sep 30, 2022

@pravinpushkar HI~ Is there anything else I need to do?

There are few PR checks failing, could you please have a look? For now I have re-triggered some of them. Hopefully E2E- Upgrade path tests should pass as it looked temporary failure. But other one should not have failed.

HI, @pravinpushkar ~ I don't find the failing PR checks,could you give me a link?

@mukundansundar mukundansundar dismissed yaron2’s stale review September 30, 2022 04:17

Review comments addressed

@mukundansundar mukundansundar merged commit 3bf4b5e into dapr:master Sep 30, 2022
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.

The port number of the dashboard supports automatic selection.

6 participants