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 admin command to print Argo CD initial password (11117) #11155
feat: Add new admin command to print Argo CD initial password (11117) #11155
Conversation
Codecov ReportBase: 45.63% // Head: 45.60% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #11155 +/- ##
==========================================
- Coverage 45.63% 45.60% -0.04%
==========================================
Files 238 239 +1
Lines 28953 28973 +20
==========================================
Hits 13214 13214
- Misses 13920 13940 +20
Partials 1819 1819
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Thanks @iam-veeramalla! One small grammar tweak.
Could you also update the quick start guide to reference this new command instead of the kubectl
command?
|
||
if initialPass, ok := secret.Data["password"]; ok { | ||
fmt.Println(string(initialPass)) | ||
fmt.Println("\n This password must be only used for first time login. We strongly recommend you to update the password using `argocd account update-password`.") |
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.
fmt.Println("\n This password must be only used for first time login. We strongly recommend you to update the password using `argocd account update-password`.") | |
fmt.Println("\n This password must be only used for first time login. We strongly recommend you update the password using `argocd account update-password`.") |
21eaae3
to
b2b18da
Compare
Can you run CLI codegen again? |
Sure, will do that tomorrow morning. |
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com>
6a11c43
to
cda5c5a
Compare
My mac is giving me hard times in running the codegen and other make targets :( . Hope this commit will fix the failing CI. |
@crenshaw-dev got the code-gen working now. PTAL |
@crenshaw-dev just in case you missed my previous comment. Fixed the failing CI and rebased the code. |
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…argoproj#11155) * feat: Add new admin command to print Argo CD initial password (11117) Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * Update docs/getting_started.md Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Update cmd/argocd/commands/admin/initial_password.go Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Update docs/user-guide/commands/argocd_admin_initial-password.md Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
…argoproj#11155) * feat: Add new admin command to print Argo CD initial password (11117) Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * fix failing CI Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> * Update docs/getting_started.md Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Update cmd/argocd/commands/admin/initial_password.go Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Update docs/user-guide/commands/argocd_admin_initial-password.md Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: iam-veeramalla <abhishek.veeramalla@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: emirot <emirot.nolan@gmail.com>
I don't know if I'm missing something but, how is this helpful? if you ran |
@ofirshtrull , Before |
Signed-off-by: iam-veeramalla abhishek.veeramalla@gmail.com
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Fixes #11117
Closes #11117