Add argocd login command#82
Add argocd login command#82merenbach merged 22 commits intoargoproj:masterfrom merenbach:add-cli-login
argocd login command#82Conversation
util/password/password.go
Outdated
| } | ||
|
|
||
| // Even though good hashers will disallow blank passwords, let's be explicit that ALL BLANK PASSWORDS ARE INVALID. Full stop. | ||
| // This goes AFTER verification to mitigate potential for timing attacks. |
There was a problem hiding this comment.
I think it makes sense execute empty password check before checking all hashers
util/config/local.go
Outdated
|
|
||
| // ReadLocalConfig loads up the local configuration file. | ||
| func ReadLocalConfig() (LocalConfig, error) { | ||
| var config LocalConfig = LocalConfig{ |
There was a problem hiding this comment.
I'm not sure I understand which variable is unused, since we're returning the config here.
There was a problem hiding this comment.
Ah, the type declaration. I think I understand now! Fixed.
util/cli/config_test.go
Outdated
| "testing" | ||
| ) | ||
|
|
||
| // func TestReadLocalFile(t *testing.T) { |
There was a problem hiding this comment.
Please remove commented test
There was a problem hiding this comment.
Realized that the test was still relevant, so updated it instead. Thanks for pointing that out!!!
util/session/sessionmanager.go
Outdated
|
|
||
| // Create creates a new token for a given subject (user) and returns it as a string. | ||
| func (mgr SessionManager) Create(subject string) (string, error) { | ||
| func (mgr SessionManager) create(subject string) (string, error) { |
There was a problem hiding this comment.
Create method is used in argo-cd/server/session/session.go . Code does not compile because of this change
|
LGTM. Only one comment: these changes don't completely resolve #72 . We still need to update |
* chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat(multi-cluster k8s dashboard): Make necessary changes for multi-cluster k8s dashboard feature in AKP (argoproj#48) * feat: send data to agent Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * (wip)feat: send data to syncer APIs * add support for columns info * fix: resource deletion missing events * feat: use resource sync and health info * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: enable dashboard feature by using env var * fix: 1.21.0 -> 1.21 * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> * fix: using http client with timeout (argoproj#51) * feat: send api resource count and object count from argocd application controller (argoproj#52) * feat: add destination metadata for argocd UI repo calls (argoproj#53) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * fix: argocd only send cluster info once (argoproj#54) * send all health statuses (argoproj#55) * feat: added commit abilities to reposerver (argoproj#56) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * chore: use FedRAMP compliant binaries (argoproj#57) Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> * feat: implement resource filtering in app source and app filtering in appset (argoproj#58) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: helm binary path in image (argoproj#59) * fix: application set should not attempt to talk to managed cluster (argoproj#60) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Application stats flickers (argoproj#61) * feat: add cluster scoped for kubevision resource info (argoproj#62) * add namespaced * use cluster scoped * use v5 * fix: api server uses invalid matching while checking app namespace (argoproj#63) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: Undefined in Argo CD apps search box and app-in-any-namespace enabled (argoproj#64) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: support reading notifications settings from a different k8s (argoproj#66) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add akuity-release-cli (argoproj#67) * feat: add akuity-release-cli Signed-off-by: Justin Marquis <justin@akuity.io> * go mod tidy Signed-off-by: Justin Marquis <justin@akuity.io> --------- Signed-off-by: Justin Marquis <justin@akuity.io> * fix: akuity-release-cli (argoproj#68) Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> * add skipOnFailure flag to appset filters (argoproj#69) * fix(appset): improve git generator repo credential fallback (argoproj#21167) * fix: read settings from host namespace instead of control plane namespace (argoproj#70) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add support for deleting files/dir in repo server (argoproj#71) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: store original URL in global variable (argoproj#72) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: argocd app controller should not be affected when syncer is down (argoproj#73) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: handle delegated appset generate cli calls (argoproj#74) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * refactor: local generate condition (argoproj#75) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: ensure appset generate call also filters the apps (argoproj#76) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: appset generator cannot access app metadata (argoproj#77) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: circular dependency error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix sync status missing (argoproj#78) * feat: favorite application filter (argoproj#79) * feat: favorite filter * feat: test * fix: ap.pb.go * fix: application-list * fix: remove duplicate * fix: proto * fix: pagination for fav * remove: debug logs Signed-off-by: bhavyabhut <pbhavy4@gmail.com> --------- Signed-off-by: bhavyabhut <pbhavy4@gmail.com> * feat: add replace handler to power dashboard (argoproj#82) Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> * handle only when repo-server delegated * fix typo * cache redis clients Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> Signed-off-by: Justin Marquis <justin@akuity.io> Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> Signed-off-by: bhavyabhut <pbhavy4@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> Co-authored-by: Soumya Ghosh Dastidar <44349253+gdsoumya@users.noreply.github.com> Co-authored-by: Xiaopeng Han <hanxiaop8@outlook.com> Co-authored-by: Anubhav Gupta <mail.anubhav06@gmail.com> Co-authored-by: Rafal <rafal@akuity.io> Co-authored-by: Yiwei Gong <imwithye@gmail.com> Co-authored-by: Justin Marquis <76892343+34fathombelow@users.noreply.github.com> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Bhavya Bhut <pbhavy4@gmail.com>
Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com>
* chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat(multi-cluster k8s dashboard): Make necessary changes for multi-cluster k8s dashboard feature in AKP (argoproj#48) * feat: send data to agent Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * (wip)feat: send data to syncer APIs * add support for columns info * fix: resource deletion missing events * feat: use resource sync and health info * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: enable dashboard feature by using env var * fix: 1.21.0 -> 1.21 * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> * fix: using http client with timeout (argoproj#51) * feat: send api resource count and object count from argocd application controller (argoproj#52) * feat: add destination metadata for argocd UI repo calls (argoproj#53) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * fix: argocd only send cluster info once (argoproj#54) * send all health statuses (argoproj#55) * feat: added commit abilities to reposerver (argoproj#56) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * chore: use FedRAMP compliant binaries (argoproj#57) Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> * feat: implement resource filtering in app source and app filtering in appset (argoproj#58) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: helm binary path in image (argoproj#59) * fix: application set should not attempt to talk to managed cluster (argoproj#60) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Application stats flickers (argoproj#61) * feat: add cluster scoped for kubevision resource info (argoproj#62) * add namespaced * use cluster scoped * use v5 * fix: api server uses invalid matching while checking app namespace (argoproj#63) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: Undefined in Argo CD apps search box and app-in-any-namespace enabled (argoproj#64) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: support reading notifications settings from a different k8s (argoproj#66) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add akuity-release-cli (argoproj#67) * feat: add akuity-release-cli Signed-off-by: Justin Marquis <justin@akuity.io> * go mod tidy Signed-off-by: Justin Marquis <justin@akuity.io> --------- Signed-off-by: Justin Marquis <justin@akuity.io> * fix: akuity-release-cli (argoproj#68) Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> * add skipOnFailure flag to appset filters (argoproj#69) * fix(appset): improve git generator repo credential fallback (argoproj#21167) * fix: read settings from host namespace instead of control plane namespace (argoproj#70) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add support for deleting files/dir in repo server (argoproj#71) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: store original URL in global variable (argoproj#72) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: argocd app controller should not be affected when syncer is down (argoproj#73) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: handle delegated appset generate cli calls (argoproj#74) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * refactor: local generate condition (argoproj#75) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: ensure appset generate call also filters the apps (argoproj#76) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: appset generator cannot access app metadata (argoproj#77) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: circular dependency error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix sync status missing (argoproj#78) * feat: favorite application filter (argoproj#79) * feat: favorite filter * feat: test * fix: ap.pb.go * fix: application-list * fix: remove duplicate * fix: proto * fix: pagination for fav * remove: debug logs Signed-off-by: bhavyabhut <pbhavy4@gmail.com> --------- Signed-off-by: bhavyabhut <pbhavy4@gmail.com> * feat: add replace handler to power dashboard (argoproj#82) Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> * handle only when repo-server delegated * fix typo * cache redis clients Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> Signed-off-by: Justin Marquis <justin@akuity.io> Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> Signed-off-by: bhavyabhut <pbhavy4@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> Co-authored-by: Soumya Ghosh Dastidar <44349253+gdsoumya@users.noreply.github.com> Co-authored-by: Xiaopeng Han <hanxiaop8@outlook.com> Co-authored-by: Anubhav Gupta <mail.anubhav06@gmail.com> Co-authored-by: Rafal <rafal@akuity.io> Co-authored-by: Yiwei Gong <imwithye@gmail.com> Co-authored-by: Justin Marquis <76892343+34fathombelow@users.noreply.github.com> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Bhavya Bhut <pbhavy4@gmail.com>
* chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat(multi-cluster k8s dashboard): Make necessary changes for multi-cluster k8s dashboard feature in AKP (argoproj#48) * feat: send data to agent Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * (wip)feat: send data to syncer APIs * add support for columns info * fix: resource deletion missing events * feat: use resource sync and health info * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: enable dashboard feature by using env var * fix: 1.21.0 -> 1.21 * chore: disable dependabot Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: user server side filtering & pagination to load Argo CD applications list Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: fix cluster filtering and refresh button on application list page Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: api server fails with "nil pointer dereference" error (argoproj#40) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): ui should show the same page number as in API (argoproj#38) * feat: repository/Service.ListRefs returns raw list of refs (argoproj#42) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: avoid closing search dropdown while typing; fix cluster filter (argoproj#43) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Reoreding filters (argoproj#44) * fix(ui): Reoreding filters * fix * fix: -ak.19 server version causing argocd app wait command to hang (argoproj#45) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> * fix: using http client with timeout (argoproj#51) * feat: send api resource count and object count from argocd application controller (argoproj#52) * feat: add destination metadata for argocd UI repo calls (argoproj#53) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * fix: argocd only send cluster info once (argoproj#54) * send all health statuses (argoproj#55) * feat: added commit abilities to reposerver (argoproj#56) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * chore: use FedRAMP compliant binaries (argoproj#57) Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> * feat: implement resource filtering in app source and app filtering in appset (argoproj#58) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: helm binary path in image (argoproj#59) * fix: application set should not attempt to talk to managed cluster (argoproj#60) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix(ui): Application stats flickers (argoproj#61) * feat: add cluster scoped for kubevision resource info (argoproj#62) * add namespaced * use cluster scoped * use v5 * fix: api server uses invalid matching while checking app namespace (argoproj#63) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: Undefined in Argo CD apps search box and app-in-any-namespace enabled (argoproj#64) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: support reading notifications settings from a different k8s (argoproj#66) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add akuity-release-cli (argoproj#67) * feat: add akuity-release-cli Signed-off-by: Justin Marquis <justin@akuity.io> * go mod tidy Signed-off-by: Justin Marquis <justin@akuity.io> --------- Signed-off-by: Justin Marquis <justin@akuity.io> * fix: akuity-release-cli (argoproj#68) Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> * add skipOnFailure flag to appset filters (argoproj#69) * fix(appset): improve git generator repo credential fallback (argoproj#21167) * fix: read settings from host namespace instead of control plane namespace (argoproj#70) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: add support for deleting files/dir in repo server (argoproj#71) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: store original URL in global variable (argoproj#72) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: argocd app controller should not be affected when syncer is down (argoproj#73) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * feat: handle delegated appset generate cli calls (argoproj#74) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * refactor: local generate condition (argoproj#75) Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> * feat: ensure appset generate call also filters the apps (argoproj#76) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: appset generator cannot access app metadata (argoproj#77) Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix: circular dependency error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * fix sync status missing (argoproj#78) * feat: favorite application filter (argoproj#79) * feat: favorite filter * feat: test * fix: ap.pb.go * fix: application-list * fix: remove duplicate * fix: proto * fix: pagination for fav * remove: debug logs Signed-off-by: bhavyabhut <pbhavy4@gmail.com> --------- Signed-off-by: bhavyabhut <pbhavy4@gmail.com> * feat: add replace handler to power dashboard (argoproj#82) Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> * handle only when repo-server delegated * fix typo * cache redis clients Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com> Signed-off-by: Anubhav Gupta <mail.anubhav06@gmail.com> Signed-off-by: Justin Marquis <justin@akuity.io> Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> Signed-off-by: bhavyabhut <pbhavy4@gmail.com> Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> Co-authored-by: Mayursinh Sarvaiya <marvinduff97@gmail.com> Co-authored-by: Jiacheng Xu <xjcmaxwellcjx@gmail.com> Co-authored-by: Rafal <rafpelczar@gmail.com> Co-authored-by: Soumya Ghosh Dastidar <44349253+gdsoumya@users.noreply.github.com> Co-authored-by: Xiaopeng Han <hanxiaop8@outlook.com> Co-authored-by: Anubhav Gupta <mail.anubhav06@gmail.com> Co-authored-by: Rafal <rafal@akuity.io> Co-authored-by: Yiwei Gong <imwithye@gmail.com> Co-authored-by: Justin Marquis <76892343+34fathombelow@users.noreply.github.com> Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Bhavya Bhut <pbhavy4@gmail.com>
Add an
./argocd logincommand that prompts for username (which can be specified on CLI) and password, then tries to log in. If login is successful, server, username, and password are written to~/.argocd/config.Once this is approved, we can more effectively wall off CLI and Web access (that's mostly done, in a different branch).
This should partially address issue #72 by adding the ability to log in and create the config file.