Commit Graph
23 Commits
Author SHA1 Message Date
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