Commit Graph
35 Commits
Author SHA1 Message Date
my-git9andGitHub 6c6916f07e fix: add space before prompt in CLI (#10362)
Signed-off-by: xin.li <[email protected]>

Signed-off-by: xin.li <[email protected]>
2022-08-18 10:25:17 -04:00
my-git9andGitHub f51940bce0 chore: improve argocd app delete (#10160)
Signed-off-by: xin.li <[email protected]>
2022-08-08 17:16:22 -04:00
jannfisandGitHub d65d195d33 chore: Replace deprecated ioutil in util packages (#9848)
Signed-off-by: jannfis <[email protected]>
2022-07-06 12:45:04 -04:00
jannfisandGitHub 24abd1342c fix: Improve user experience for update-password CLI command (#7581)
* fix: Improve user experience for update-password CLI command

Signed-off-by: jannfis <[email protected]>

* Regenerate CLI docs

Signed-off-by: jannfis <[email protected]>
2021-10-30 10:30:58 +02:00
Alexander MatyushentsevandGitHub c3a6e6f76c fix: Argo CD server address unspecified with Argo CD CLI v2.1.x (#7238)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-09-16 11:23:29 -07:00
Alexander MatyushentsevandGitHub c78e1968f5 fix: util.cli.SetLogLevel should update global log level (#6852)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-07-29 13:01:38 -07:00
Alexander MatyushentsevandGitHub c2901775fb feat: Headless Argo CD (aka GitOps Agent) (#6361)
* feat: add --headless flag to Argo CD CLI command

Signed-off-by: Alexander Matyushentsev <[email protected]>

* docs: add headless installation manifests and documentation

Signed-off-by: Alexander Matyushentsev <[email protected]>

* Apply reviewer notes

Signed-off-by: Alexander Matyushentsev <[email protected]>

* Remove port forwarding logs

Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-07-20 21:51:36 -07:00
AikawaandGitHub ddca6da103 fix: use current logrus config when logrus is created internally (#6234) (#6301)
fix: use current logrus config when logrus is created internally (#6234) (#6301)
Signed-off-by: yu-croco <[email protected]>
2021-05-28 16:27:57 -07:00
Alexander MatyushentsevandGitHub 22a84a2fac refactor: upgrade k8s client to v0.21.0 (#6322)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-05-27 10:20:53 -07:00
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

Signed-off-by: jannfis <[email protected]>

* Restore import order

Signed-off-by: jannfis <[email protected]>

* fix knowntypes_normalizer codegen error

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix codegen

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix Procfile

Signed-off-by: Alexander Matyushentsev <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00
kshamajain99andGitHub 12f90f74fe fix: upgrade klog (#5697) (#5699)
fix: upgrade klog (#5697) (#5699)
2021-03-05 14:55:33 -08:00
Alexander MatyushentsevandGitHub 301d9bf4c9 refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) (#4652) 2020-10-27 14:10:24 -07:00
Alexander MatyushentsevandGitHub fe1068225d refactor: upgrade K8S client to v0.18.8 (#4149) 2020-08-24 16:46:38 -07:00
jannfisandGitHub eec65d7bea chore: Fix complaints of golang-ci lint v1.26.0 (#3673) 2020-05-30 18:54:14 -07:00
Alexander MatyushentsevandGitHub a68b34dd33 feat: move engine code to argoproj/gitops-engine repo (#3599) 2020-05-15 14:39:29 -07:00
Alexander MatyushentsevandGitHub 171127a40f feat: Gitops engine (#3066)
* Move utils packages that are required for gitops engine under engine/pkg/utils package.
Following changes were implemented:
* util/health package is split into two parts: resource health assessement & resource health assessement and moved into engine/pkg/utils
* utils packages moved: Closer and Close method of util package moved into engine/pkg/utils/io package
* packages diff, errors, exec, json, kube and tracing moved into engine/pkg/utils

* Move single cluster caching into engine/kube/cache package

* move sync functionality to engine/kube/sync package

* remove dependency on metrics package from engine/pkg/utils/kube/cache

* move annotation label definitions into engine/pkg/utils/kube/sync

* make sure engine/pkg has no dependencies on other argo-cd packages

* allow importing engine as a go module

* implement a high-level interface that might be consumed by flux

* fix deadlock caused by cluster cache event handler

* ClusterCache should return error if requested group kind not found

* remove obsolete tests

* apply reviewer notes
2020-05-15 10:01:18 -07:00
Shuhei KitagawaandGitHub e9fb1e5986 feat: Add --logformat switch to API server, repository server and controller (#3408) 2020-05-05 14:03:48 +02:00
Masayuki Ishiiandjannfis bca12a6cb0 feat: Add argocd cmd for Windows #2121 (#3015)
* fix: Explicitly cast Stdin file descriptors to int

Signed-off-by: Masayuki Ishii <[email protected]>

* feat: Add the windows CLI

Signed-off-by: Masayuki Ishii <[email protected]>

* fix: Fix warning message

Signed-off-by: Masayuki Ishii <[email protected]>
2020-01-24 08:18:00 +01:00
Jesse SuenandGitHub 7b98a9734b feat: Use kubectl apply library instead of forking binary (#2861) 2019-12-13 17:29:01 -08:00
Scott CabrinhaandAlexander Matyushentsev fb45fbc82a Issue #2833: use editor arguments in InteractiveEditor (#2850) 2019-12-11 10:06:54 -08:00
Jesse SuenandGitHub a1a2f49277 Update k8s dependency to v1.16 (#2828) 2019-12-10 18:33:58 -08:00
Jesse SuenandGitHub ab99302a36 Update k8s libraries to v1.14 (#1806) 2019-06-25 02:52:58 -07:00
Alexander MatyushentsevandGitHub 00a85bd801 Move generated api code to pkg package (#1696) 2019-06-05 12:58:11 -07:00
Alex CollinsandGitHub b5ad0a71d5 Force color logging locally (#1316) 2019-03-26 13:59:03 -07:00
Alex CollinsandGitHub e83b9cc419 Migrates from gometalinter to golangci-lint. Closes #1225 (#1226) 2019-03-08 16:22:04 -08:00
Alex CollinsandGitHub afe74b9fb4 Lints local imports. Closes #1197 (#1198) 2019-02-27 18:05:55 -08:00
Alexander MatyushentsevandGitHub 28265fd2ce Issue #1132 - Interactive application/project edit (#1133) 2019-02-15 14:59:52 -08:00
Jesse SuenandGitHub 5c034a9fbd Support for external OIDC providers and implicit login flows (#727) 2018-10-29 01:36:53 -07:00
dthomson25andGitHub 35683f7332 Add ksonnet version to version endpoint (#433)
* Add ksonnet version to version endpoint

I needed to move config.go out of the cli package to fix a circular dependency.

* Remove ksonnetVersion field from the ArgoCD version struct
2018-07-20 09:13:16 -07:00
Jesse SuenandGitHub e21316b749 Support OAuth2 login flow from CLI (resolves #172) (#181)
* Support OAuth2 login flow from CLI (resolves #172)
* Refactor SessionManager to handle local and OAuth2 logins.
* argo login will request permanent credentials after OAuth2 flow
* Implement proper OIDC app state nonce. Add explicit `--sso` flag to `argo login`
2018-05-10 15:43:58 -07:00
Alexander MatyushentsevandGitHub 673aa1b91a Don't ask for user credentials if username and password are specified as arguments (#129)
* Don't ask for user credentials if username and password are specified as arguments

* Add cli image make target

* Don't re-prompt username/password in PromptCredentials
2018-04-25 14:18:30 -07:00
Jesse Suen 22c85137c1 Prompting for repo credentials was accepting newline as username 2018-04-25 00:07:09 -07:00
Andrew MerenbachandGitHub 4fb3be5ce4 Add argocd login command (#82)
* Add auth check and bypass for authentication

* Disallow blank passwords

* Mitigate timing attacks

* Factor out authentication/token gen code

* Tweaked token validation code to log claims

* Add missing internal gRPC client endpoints

* Add first draft of login command

* Add login command to root commands

* Get login working

* Generalize command utils for unmarshaling

* Centralize utils for CLI YAML/JSON parsing

* Read/write local config now

* Initialize map

* Revert server files for now

* Fix casing

* Restore commented test, thanks @alexmt

* No need to mitigate timing attacks on blank passwords, thanks @alexmt

* Rm redundant type declaration, thanks @alexmt

* Improve error checks

* Rm unnecessary conversion, thanks @alexmt

* Fix comment

* Don't return error when config doesn't exist
2018-04-11 17:01:58 -07:00
Jesse Suen 5e3c4db946 Rewrite installer. Install into argocd namespace. Standardize kubeconfig parsing 2018-03-02 18:04:29 -08:00
Jesse Suen a8288bf5b0 Support persistence of repos as secrets 2018-02-21 03:01:43 -08:00