jaehanbyun
b48ed499c0
chore(cmd): unify CLI names via common constants and simplify main dispatch ( #24486 )
...
Signed-off-by: jaehanbyun <awbrg789@naver.com>
2026-02-15 12:03:39 +01:00
Alexander Matyushentsev
8b2e0e1aec
fix: remove unnecessary --self-heal-backoff-cooldown-seconds flag from app controller ( #25579 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2025-12-10 18:39:00 +00:00
Soumya Ghosh Dastidar
722da4e70f
fix: add cooldown to prevent resetting autoheal exp backoff preemptively ( #23057 )
...
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2025-05-22 15:05:12 +05:30
Michael Crenshaw
2d2efdc48f
chore(deps): bump github.com/argoproj/pkg to v2.0.1 ( #22516 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2025-04-16 13:15:42 -07:00
Alexandre Gaudreault
fe598a831e
chore!: add 60s default jitter ( #22342 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
2025-03-13 22:01:12 +00:00
rumstead
029927b25e
feat(appcontroller): store application health status in redis by default ( #10312 ) ( #21532 )
...
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com>
2025-03-04 11:29:23 +00:00
teddy-wahle
4a1d0f3af5
fix: Switch default logging to JSON (issue: 20897) ( #21656 )
...
Signed-off-by: Teddy Wahle <teddy.wahle@verkada.com>
2025-02-06 18:32:26 +00:00
Florian Blampey
e4311d8309
feat: add name and labels in cluster metrics ( #17870 ) ( #18453 )
...
Signed-off-by: flbla <flbla@users.noreply.github.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
2025-01-29 18:06:29 +00:00
github-actions[bot]
4d9835927d
Bump major version to 3 ( #21410 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <350466+crenshaw-dev@users.noreply.github.com>
2025-01-10 16:14:00 -05:00
Matthieu MOREL
53bc19b5f2
chore: enable unused-parameter from revive ( #21365 )
...
* chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
* apply recommandations
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-01-07 10:12:56 -05:00
Matthieu MOREL
f245e8beb5
chore: enable err-error and strconcat of perfsprint linter ( #21267 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-20 16:22:28 +00:00
Andrii Korotkov
45e488657b
chore: Graceful shutdown for API Server ( #18642 ) ( #21224 )
...
* fix: Graceful shutdown for the API server (#18642 ) (#20981 )
* fix: Graceful shutdown for the API server (#18642 )
Closes #18642
Implements a graceful shutdown the the API server. Without this, ArgoCD API server will eventually return 502 during rolling update. However, healthcheck would return 503 if the server is terminating.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Init server only once, but keep re-initializing listeners
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Check error for SetParamInSettingConfigMap as needed after fresh master
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Prevent a data race
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Remove unused variable, don't pass lock when not necessary
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Try overriding URL instead of additional URLs
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Use a more specific url
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Use a custom signal for graceful restart
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Re-run tests
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2024-12-17 16:51:18 -05:00
Pasha Kostohrys
46bfc10e4d
Revert "fix: Graceful shutdown for the API server ( #18642 ) ( #20981 )" ( #21221 )
2024-12-17 18:56:00 +02:00
Michael Crenshaw
433b317c35
feat: source hydrator ( #20345 )
...
* feat(hydrator): add sourceHydrator types
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix(codegen): use kube_codegen.sh deepcopy and client gen correctly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
deepcopy gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): add commit-server component
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
go mod tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
one test file for both implementations
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix test for linux
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix git client mock
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix git client mock
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
address comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
unit tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix image, fix health checks, fix merge issue
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
remove code that doesn't work for GHE
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
changes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* set hydrator enabled key when using hydrator manifests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix manifests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): add sourceHydrator types
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix(codegen): use kube_codegen.sh deepcopy and client gen correctly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
deepcopy gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): write credentials handling + UI
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): write credentials handling + UI
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
WIP: add new APIs for write creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
write api and template api
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix time function
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't enrich with read creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert tls change
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't disable buttons in UI
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
ask repo server for specific revision
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
lint ui
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
remove unnecessary change
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix test and lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
enable hydrator for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* free disk space for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't free disk space
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* free disk space for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* remove comment that breaks auth
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* try removing extra function
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* cleanup from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2024-12-16 16:59:09 -05:00
Andrii Korotkov
9741c065d8
feat: Sync timeouts for applications ( #6055 ) ( #20816 )
...
* feat: Sync timeouts for applications (#6055 )
Helps with #6055
Introduces a controller-level configuration for terminating sync after timeout.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Fix env variable name
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
2024-12-10 13:59:04 +05:30
Andrii Korotkov
730363f14b
fix: Graceful shutdown for the API server ( #18642 ) ( #20981 )
...
* fix: Graceful shutdown for the API server (#18642 )
Closes #18642
Implements a graceful shutdown the the API server. Without this, ArgoCD API server will eventually return 502 during rolling update. However, healthcheck would return 503 if the server is terminating.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Init server only once, but keep re-initializing listeners
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Check error for SetParamInSettingConfigMap as needed after fresh master
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Prevent a data race
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Remove unused variable, don't pass lock when not necessary
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Try overriding URL instead of additional URLs
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
* Use a more specific url
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
---------
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
Co-authored-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2024-12-03 15:32:26 -05:00
Michael Crenshaw
6a09102389
chore: log panics in JSON ( #20924 ) ( #20925 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2024-11-24 20:05:39 -05:00
Alexander Matyushentsev
dc27102cff
feat: support using exponential backoff between self heal attempts ( #20275 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2024-10-08 16:32:00 +00:00
Cayde6
eba559a449
feat: option to disable writing k8s events( #18205 ) ( #18441 )
...
* feat: option to disable writing k8s events
optioned to write logs for k8s events.
Each is passed as an environment variable and defaults to true,
disabling it requires explicitly setting the option to false.
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com>
* feat: option to disable writing k8s events
fix unit test
- application_test
- applicationset_test
- project_test
- appcontroller_tes
- audit_logger_test
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com>
* rebase
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com>
---------
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com>
2024-09-23 08:32:17 +05:30
foyerunix
de35745fc0
feat: Add metric to expose Applications conditions ( #19438 )
...
Closes #13096
Implement a new metric exposing Applications conditions.
This is particularly useful for SRE teams to be able
to setup alerts on issues that aren't displayed via
"health_status" and "sync_status" in the metric "argocd_app_info".
Signed-off-by: Foyer Unix <foyerunix@foyer.lu>
Co-authored-by: Foyer Unix <foyerunix@foyer.lu>
2024-09-05 09:41:35 +03:00
l2h
dad6fa22d5
feat: Implement graceful shutdown in application-controller ( #19465 )
...
* Implement graceful shutdown in argocd-application-controller
Signed-off-by: leehosu <hosu4549@gmail.com>
* Implement code to pass waitGroup to Run function
Signed-off-by: leehosu <hosu4549@gmail.com>
* Add retuen nil
Signed-off-by: leehosu <hosu4549@gmail.com>
* Add log for lean shutdown
Signed-off-by: leehosu <hosu4549@gmail.com>
* collect e2e coverage from app-controller
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* Remove select {}
Signed-off-by: leehosu <hosu4549@gmail.com>
* Add ctx.done() about application-controller
Signed-off-by: leehosu <hosu4549@gmail.com>
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: leehosu <hosu4549@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>
2024-08-10 20:17:26 -04:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-11 15:41:55 +00:00
Akram Ben Aissi
75cd97d6d4
feat: Consistent hashing with bounded loads algorithm for sharding ( #16564 )
...
* Adds consistent hashing with bound loads sharding algorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Make the assignement consistent accross all clusters
- The assignment or running of the algorithm has to be consistent across all the clusters. Changed the function to return a map where the consistent hash will be used to build the map
- Modifications to the createConsistentHashsingWithBoundLoads function. This will create the map for cluster to shard. Note that the list must be consistent across all shards so that is why the cluster list must be sorted before going through the consistent hash algorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Extracting constant and simplifying boolean expression
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Update docs: consistent-hashing sharding algorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
---------
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
2024-06-05 18:28:19 +00:00
pasha-codefresh
96e796edff
chore: fix codegen after security fix ( #17982 )
2024-04-26 07:44:39 -04:00
pasha-codefresh
e23060540f
Merge pull request from GHSA-9m6p-x4h2-6frq
...
* feat: limit jq.Run with timeout
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* feat: ignore normalizer jq execution timeout as env variable
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* feat: customize error message and add doc section
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* feat: improve log and change a way how to get variable
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* chore: fix import`s order
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* chore: rename variable inside sts
Signed-off-by: pashakostohrys <pavel@codefresh.io>
* chore: fix import order
Signed-off-by: pashakostohrys <pavel@codefresh.io>
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io>
2024-04-26 12:24:02 +03:00
Soumya Ghosh Dastidar
88e4da625e
fix: disable rate limiting sompletely by default ( #17355 )
...
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2024-03-04 10:46:55 -05:00
Lukas Wöhrl
5d6111b745
fix: infer correct shard in statefulset setup ( #17124 , #17016 ) ( #17167 )
...
* fix: infer correct shard in statefulset setup
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix the case if only a single replica
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: resolving pointer on shard compare
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: add readlock for cluster accessor
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: use defer to protect access of 'shard'
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: revert locking in getclusteraccessor
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: handle nil shard case
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: handle any nil shard value as false
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: handle nil case and fix another missing pointer dereference
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* revert
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: added tests and fixed some behaviour bugs
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* test: add test to validate that Shard value is not overriden
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* fix: added tests and fixe the case when server is changed inside a secret
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
* tests: add test cases for infering the shard logic
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
---------
Signed-off-by: Lukas Wöhrl <lukas.woehrl@plentymarkets.com>
2024-02-13 11:51:41 -05:00
Soumya Ghosh Dastidar
4458d5fa80
fix: stop initializing deployment informer if dynamic sharding is disabled ( #17097 )
...
* fix: stop initializing deployment informer if dynamic sharding is disabled
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* feat: updated sharding cache getter func
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
---------
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2024-02-11 13:32:17 -05:00
Ishita Sequeira
3fda27e8d9
fix(controller): fix application controller deployment crashing ( #16984 )
...
* fix application controller deployment crashing and update manifests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* remove environment variable ARGOCD_ENABLE_DYNAMIC_CLUSTER_DISTRIBUTION
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix auto-generated docs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
2024-02-05 21:09:35 +00:00
Alexandre Gaudreault
7302a52ea1
feat(controller): add sync jitter( #14241 ) ( #16820 )
...
* feat(controller): add sync jitter
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* convert to duration for simplicity
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* docs
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* add config to manifests
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* fix tests
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
2024-01-21 11:52:32 +05:30
Akram Ben Aissi
cd4fc97c9d
fix: Use the cache for sharding ( #15237 )
...
* feat(sharding): use a cache
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* cluster cmd
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
* - Assign shard 0 to in-cluster cluster and nil check updates
- Caching clusters while sharding: Fixing unit tests
- Update generated docs
- Debug e2e tests
- Default the shardNumber to the number of replicas if it is calculated to a higher value
- defered Unlock only when a lock is set
- Disabling temporarly other versions of k3s to check if e2e passes
- Do not fail if hostname format is not abc-n
- Fix unit test and skip some e2e
- Skip TestGitSubmoduleHTTPSSupport test
- Remove breaking defer c.lock.Unlock()
- Reverting testing all k3s version
- Default sharding fix
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* fixes related to code review: renaming structure param, moving db initialisation
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Code review
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Set default shard to 0
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Set different default value for Sts and Deployment mode
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Expose ClusterShardingCache
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Removing use of argoDB.db for DistributionFunction
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Update generated documentation
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Fix comment about NoShardingDistributionFunction and NoShardingAlgorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
Co-authored-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com>
2024-01-11 01:32:11 -05:00
Alexander Matyushentsev
4afddf71cc
feat: webhook should use 'rename' to copy app manifests of previous commit ( #16754 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2024-01-05 08:53:52 -08:00
Leonardo Luz Almeida
82ca7a7f9c
feat: Implement Server-Side Diff ( #13663 )
...
* feat: Implement Server-Side Diff
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* propagate the refreshtype to the diff config
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Create the serverSideDiff config
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* chore: add featureflag utility package
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* remove featureflag package
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* add param
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* make ssd configurable with app annotation
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* add server-side-diff flags
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* apply the same logic regardless of the refresh type
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* fix gitops-engine reference
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* docs: add docs related to server-side-diff
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* docs: update doc
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Add config to include mutation webhooks
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Address review comments
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* go mod update
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Add sdd cache test case
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* fix ssd cache unit test
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Update clidocs
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* update manifests
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* Fix procfile
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* additional doc changes
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* update gitops-engine version
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
---------
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2023-12-18 20:37:13 +00:00
Prashant Shahi
11df9900ff
feat(opentelemetry): ✨ support for secured OTLP endpoint and headers ( #15573 )
...
* feat(opentelemetry): ✨ support for secured OTLP endpoint and headers
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* docs(opentelemetry): 📝 include new otlp headers in docs
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* docs(opentelemetry): 📝 update readme docs as per integration tests
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* docs(opentelemetry): 📝 update readme docs as per integration tests
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* chore: resolve indentation issues
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* chore: fix indentation issues
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* chore: include OTLP options in deployment manifests
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
* fix: update manifests to resolve failing CI
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
---------
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
2023-11-27 10:45:00 +05:30
gdsoumya
be2a01c231
feat: grace period for repo errors to prevent aggressive unknown sync state ( #16085 )
...
* feat: added grace period for repo errors to prevent aggressive sync state unknowns
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* feat: updated docs
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* fix: e2e test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* feat: resolved review comments
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* feat: update unit test
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
* fix: codegen
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
---------
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
Signed-off-by: gdsoumya <44349253+gdsoumya@users.noreply.github.com>
2023-11-02 11:51:16 -04:00
navist2020
26264b87d0
Remove unnecessary error checking ( #16150 )
...
Signed-off-by: lijun <navist2020@163.com>
2023-10-31 22:31:38 -04:00
gdsoumya
a9f03aa8cc
feat: use rate limited queue ( #15480 )
...
* feat: use rate limited queue
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2023-10-18 12:08:04 -07:00
Remington Breeze
9f25800c9a
fix: only enable dynamic cluster sharding feature explicitly ( #15734 )
...
* fix: only enable dynamic cluster sharding feature explicitly
Signed-off-by: Remington Breeze <remington@breeze.software>
---------
Signed-off-by: Remington Breeze <remington@breeze.software>
2023-09-30 00:41:36 +00:00
Anand Francis Joseph
0386027fd9
fix(application-controller): Fix panic error when trying to scale application controller shards ( #15725 )
...
* Added error checking to determine if application controller deployment is found or not
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
* Fixed the informer to list deployments in namespace scope
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
* Fixed readiness check probe for application controller when running as deployment
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
---------
Signed-off-by: Anand Francis Joseph <anjoseph@redhat.com>
2023-09-29 13:34:50 -04:00
Ishita Sequeira
1a9cda0a6c
fix: add a not found check for application controller deployment ( #15678 )
...
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
2023-09-26 18:30:06 +00:00
Ishita Sequeira
cb25382658
feat: dynamic rebalancing of clusters across shards ( #15036 )
...
* Migrate Application Controller from Statefulset to Deployment
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add sharding deployment logic
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Update sharding logic and add comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add heartbeat as an environment variable
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add retry logic, heartbeat timeout environment variable
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* use the logic of pre-specified shard number on application controller pod
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix manifests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix lint and e2e tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* comment out failing e2e test
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* increase readiness probe interval period
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* "comment out readiness probe to see if e2e tests succeed"
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* revert commented readiness probe
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* revert commented test case
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* read environment variable for application controller deployment name
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add nil check on replica count for deployment of application controller
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add Informer, Update documentation, add unit tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update godoc
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* remove unwanted code and logs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add more documentation
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* revert ApplicationController manifest to StatefulSet
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* reverting updated docs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add documentation for the new dynamic distribution feature
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update documentation
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add an overlay for application controller deployment and update documentation
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix nit
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Marking the feature as alpha
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* Add feature status link
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* revert go,mod changes
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* update docs to avoid focusing on StatefulSet/Deployment (#26 )
* update docs to avoid focusing on StatefulSet/Deployment
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* minor update to the doc
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
---------
Signed-off-by: ishitasequeira <ishiseq29@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>
2023-09-22 19:49:09 +00:00
Pelen
71e4fa352a
feat: support extra attributes for opentelemetry ( #15071 )
...
Signed-off-by: penglongli <pelenli@tencent.com>
2023-08-29 12:00:15 -04:00
Vikash Yadav
a656459521
chore: Replace cacheSrc to cacheSource ( #14393 )
...
Changed cacheSrc to cacheSource
Signed-off-by: Vikash Yadav <yadav621gzp@gmail.com>
2023-07-07 16:09:08 +00:00
Akram Ben Aissi
ee983fe8ac
fix: Fixes sharding placement algorithm and allows development of alternative algorithms ( #13018 )
...
* fix: Extraction of DistributionFunction to allow passing different type of functions to filter clusters by shard
- Adding unit tests for sharding
- Refresh clusters list on DistributionFunction call
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
* fix: Incorrect conversion of an integer with architecture-dependent bit size from [strconv.Atoi](1) to a lower bit size type uint32 without an upper bound check.
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Added config to switch to round-robin sharding
Signed-off-by: Raghavi Shirur <rshirur@redhat.com>
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Documenting sharding more, adding shuffling tests (skipped), re-enable sharding algo env var
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* Allow configuration through argocd-cmd-params-cm configMap and key: controller.sharding.algorithm
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
* De-duplicate code, remove reflection for default case, shorten distribution methods name, ran codegen on manifests
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
---------
Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Raghavi Shirur <rshirur@redhat.com>
Co-authored-by: Raghavi Shirur <raghaviss11@gmail.com>
2023-06-05 09:19:14 -04:00
Tom Elliff-O'Shea
1f4c745f8b
feat: allow using env var to set kubectl parallelism limit ( #8442 ) ( #9116 )
...
* Allow using env var to set kubectl parallelism limit
Closes https://github.com/argoproj/argo-cd/issues/8442 .
Signed-off-by: Tom Elliff-O'Shea <tomelliff@gmail.com>
* add config key
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: Tom Elliff-O'Shea <tomelliff@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>
2023-03-21 19:06:06 +00:00
Nolan Emirot
7b74e1993e
chore: update redis client to v9 ( #12746 )
...
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com>
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com>
* chore: update redis
Signed-off-by: emirot <emirot.nolan@gmail.com>
---------
Signed-off-by: emirot <emirot.nolan@gmail.com>
2023-03-08 09:42:10 -05:00
Alexander Matyushentsev
893a8670b0
chore: infer managed resources health from redis instead of storing it in CRD ( #10191 )
...
* chore: infer managed resources health from redis instead of storing it in CRD
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* apply reviewer notes
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2022-08-17 21:03:24 +00:00
jannfis
03bd6e62a0
feat: Make additional namespaces configurable via environment ( #10270 )
...
* feat: Make additional namespaces configurable via environment
Signed-off-by: jannfis <jann@mistrust.net>
* Change from clidocsgen
Signed-off-by: jannfis <jann@mistrust.net>
Signed-off-by: jannfis <jann@mistrust.net>
2022-08-11 12:31:41 -04:00
jannfis
068048cb80
feat: Applications in any namespace ( #9755 )
...
* feat: Applications in any namespace
Signed-off-by: jannfis <jann@mistrust.net>
* Fix typo in CI
Signed-off-by: jannfis <jann@mistrust.net>
* Create argocd-e2e-external namespace
Signed-off-by: jannfis <jann@mistrust.net>
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Remove debug code
Signed-off-by: jannfis <jann@mistrust.net>
* Update help text for -N option to app create
Signed-off-by: jannfis <jann@mistrust.net>
* Wrap error when retrieving AppProject from cache
Signed-off-by: jannfis <jann@mistrust.net>
* Check for controller namespace first before matching on additional ns
Signed-off-by: jannfis <jann@mistrust.net>
* Improve TestAppProjectIsSourceNamespacePermitted unit test
Signed-off-by: jannfis <jann@mistrust.net>
* Get rid of some debug leftovers
Signed-off-by: jannfis <jann@mistrust.net>
* Better error wrapping; return IsNotFound as-is
Signed-off-by: jannfis <jann@mistrust.net>
* Updates from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* We don't need AppShortName() anymore
Signed-off-by: jannfis <jann@mistrust.net>
* Update end-to-end tests to use annotation methods
Signed-off-by: jannfis <jann@mistrust.net>
* Add e2e tests to test for app creation in not permitted ns
Signed-off-by: jannfis <jann@mistrust.net>
* Remove deprecated code
Signed-off-by: jannfis <jann@mistrust.net>
* Remove dead code
Signed-off-by: jannfis <jann@mistrust.net>
* Add RBACName() method to application type
Signed-off-by: jannfis <jann@mistrust.net>
* Update from codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Fix e2e test
Signed-off-by: jannfis <jann@mistrust.net>
* Update codegen
Signed-off-by: jannfis <jann@mistrust.net>
* Move RBAC name generation to an application receiver
Signed-off-by: jannfis <jann@mistrust.net>
* Fix sync window status in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix pod logs viewer
Signed-off-by: jannfis <jann@mistrust.net>
* Fix application events in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix application search in UI
Signed-off-by: jannfis <jann@mistrust.net>
* Fix yarn lint
Signed-off-by: jannfis <jann@mistrust.net>
* Only set up cluster-wide application informer when additional namespaces are specified
Signed-off-by: jannfis <jann@mistrust.net>
* Adapt e2e test to a changed error message
Signed-off-by: jannfis <jann@mistrust.net>
* Application namespace should be taken into account for create
Signed-off-by: jannfis <jann@mistrust.net>
* Use non-qualified application name as Helm release name
Signed-off-by: jannfis <jann@mistrust.net>
* Support --app-namespace in e2e tests
Signed-off-by: jannfis <jann@mistrust.net>
* Enable more e2e tests
Signed-off-by: jannfis <jann@mistrust.net>
* Increase e2e timeout for newly added tests
Signed-off-by: jannfis <jann@mistrust.net>
2022-08-10 11:39:10 +02:00
Kent Rancourt
ae19965ff7
refactor: improve context handling in cmd/ ( #9860 )
...
Signed-off-by: Kent <kent.rancourt@gmail.com>
2022-07-05 09:32:22 -04:00