-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix: fixed cli admin dashboard cmd #16430
Conversation
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #16430 +/- ##
==========================================
- Coverage 49.53% 49.53% -0.01%
==========================================
Files 269 269
Lines 47222 47224 +2
==========================================
Hits 23392 23392
- Misses 21530 21532 +2
Partials 2300 2300 ☔ View full report in Codecov by Sentry. |
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.
@gdsoumya , the generated code seems to be a mismatch. Can you take a look?
@@ -42,7 +46,7 @@ $ argocd admin dashboard --port 8080 --address 127.0.0.1 | |||
$ argocd admin dashboard --redis-compress gzip | |||
`, | |||
} | |||
initialize.InitCommand(cmd) | |||
clientConfig = cli.AddKubectlFlagsToSet(cmd.Flags()) |
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.
Without passing the clientConfig directly from the cmd I was not able to use kubectl like flags to configure the cliebntConfig for eg. -n/--namespace was not working before this change. A similar issue was noticed by another user
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
@ishitasequeira updated docs |
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.
Awesome! Thank you @gdsoumya !
Double-checked that most recent v2.8 is not affected, so cherry-picking only into 2.9 |
/cherry-pick release-2.9 |
Cherry-pick failed with |
* fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
* chore(cli): clarify core mode code (#15800) * chore(cli): clarify core mode code Signed-off-by: Michael Crenshaw <[email protected]> * rename function Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Michael Crenshaw <[email protected]> * fix: fixed cli admin dashboard cmd (#16430) * fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * chore(ui): Change testEnvironment from node to jsdom (#16287) Signed-off-by: Rafal Pelczar <[email protected]> --------- Signed-off-by: Michael Crenshaw <[email protected]> Signed-off-by: Soumya Ghosh Dastidar <[email protected]> Signed-off-by: Rafal Pelczar <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> Co-authored-by: Soumya Ghosh Dastidar <[email protected]> Co-authored-by: Rafal <[email protected]>
* fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
* fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
* fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]> Signed-off-by: Kevin Lyda <[email protected]>
* fix: fixed cli admin dashboard cmd Signed-off-by: Soumya Ghosh Dastidar <[email protected]> * feat: update docs Signed-off-by: Soumya Ghosh Dastidar <[email protected]> --------- Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
Fixes #16379
Fixes #16323
Logs:
Issues resolved :
argocd admin dashboard
cmd--address, --port
etc. and also k8s flags like-n
Checklist: