argo-cd-cherry-pick-bot[bot]
d0b2a6cfd7
fix: Fix excessive ls-remote requests on monorepos with Auto Sync enabled apps (26277) (cherry-pick #26278 for 3.3) ( #26372 )
...
Signed-off-by: Eugene Doudine <eugene.doudine@octopus.com >
Co-authored-by: dudinea <eugene.doudine@octopus.com >
Co-authored-by: Dan Garfield <dan.garfield@octopus.com >
Co-authored-by: Regina Voloshin <regina.voloshin@codefresh.io >
2026-02-18 13:31:39 +02:00
argo-cd-cherry-pick-bot[bot]
e464f6ae43
fix: AppProject finalizer should consider apps in all allowed namespaces ( #24347 ) (cherry-pick #26416 for 3.3) ( #26480 )
...
Signed-off-by: Dhruvang Makadia <dhruvang1@users.noreply.github.com >
Co-authored-by: Dhruvang Makadia <dhruvang1@users.noreply.github.com >
2026-02-17 23:15:37 -10: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
Blake Pettersson
e932dc2575
fix: use custom cluster secret informer ( #25534 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com >
2025-12-10 10:08:03 -05:00
pedro-cs-ribeiro
3bf3d8a212
feat: PreDelete hooks support (Issue #13975 ) ( #22288 )
...
Signed-off-by: Dan Garfield <dan@codefresh.io >
Signed-off-by: Pedro Ribeiro <pedro.ribeiro@cross-join.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
Co-authored-by: Dan Garfield <dan@codefresh.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Korotkov <137232734+andrii-korotkov-verkada@users.noreply.github.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Co-authored-by: pedro-ribeiro-rci <pedro.ribeiro@rci.rogers.ca >
Co-authored-by: Pedro Ribeiro <pedro.ribeiro@cross-join.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-12-05 20:27:03 +00:00
Matthieu MOREL
4ea276860c
chore: refactor test functions to pass context from testing.T to fixtures ( #25134 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-11-02 13:39:24 +01:00
Matthieu MOREL
f26533ab37
chore: use Expecter Structs from mockery ( #25133 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-11-01 13:07:08 +00:00
Charles Coupal-Jetté
8c890d4285
feat: Add impersonation support for App finalizer deletion ( #24524 )
...
Signed-off-by: Charles Coupal-Jetté <charles.coupaljette@goto.com >
Signed-off-by: Charles Coupal-Jetté <83649150+ccjette-logmein@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-10-06 10:30:44 -04:00
Andrii Korotkov
af7ae18189
chore: Add appkey and error fields in appcontroller ( #24668 ) ( #24669 )
...
Signed-off-by: Andrii Korotkov <myolymp@gmail.com >
2025-09-27 23:47:21 +02:00
Alexandre Gaudreault
65a082b12c
fix(sync): do not retry when sync timeout has elapsed ( #24020 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-08-19 09:27:43 -04:00
Xiaopeng Han
fe6aaad4f0
fix: resource tree endpoint doesn't have missing state ( #23948 )
...
Signed-off-by: xiaopeng <hanxiaop8@outlook.com >
2025-07-28 13:05:50 +05:30
Alexandre Gaudreault
2c4dd51e15
chore(refactor): simplify auto-sync and alreadyAttemptedSync ( #23628 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-14 14:36:05 +00:00
Alexandre Gaudreault
2e4af5fa5a
fix: autosync would not trigger for different sources ( #23615 ) ( #23655 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-08 16:00:32 -04:00
Alexandre Gaudreault
abbdfa26fd
chore(refactor): simplify selfHeal logic ( #23626 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-07 13:38:37 -04:00
Papapetrou Patroklos
a90c54599b
fix: improves the ui message when an operation is terminated due to controller sync timeout ( #23657 )
...
Signed-off-by: Patroklos Papapetrou <ppapapetrou76@gmail.com >
2025-07-04 09:27:45 -04:00
Alexandre Gaudreault
3b1ac4b22d
chore(refactor): project as SyncAppState parameter ( #23629 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-03 13:16:58 -04:00
Blake Pettersson
49514c9b4c
fix: minor oci fixes ( #23434 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2025-06-18 00:45:34 -10:00
Matthieu MOREL
54501c05a8
chore(lint): enable builtinShadow rule from go-critic ( #23430 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-16 21:20:57 +00:00
Marcus Söderberg
00ee32f7f5
feat: optionally propagate node labels to application pod view ( #15274 ) ( #23260 )
...
Signed-off-by: Marcus Söderberg <msoderb@gmail.com >
Co-authored-by: Linghao Su <slh001@live.cn >
2025-06-13 11:19:27 -04: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
45a8c68f2a
fix(controller): only update lastTransitionTime when needed ( #23018 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-05-20 11:26:07 -04:00
Michael Crenshaw
0ec46f6857
chore(ci): upgrade golangci-lint to v2 ( #22484 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Anand Kumar Singh
fe347e39f7
fix: update field name from syncPolicy.automated.enable to enabled ( #22440 )
...
Signed-off-by: Anand Kumar Singh <anandrkskd@gmail.com >
2025-03-24 10:10:16 -04:00
Anand Kumar Singh
432a0cdef4
feat: add enable field for automatedSync ( #21999 )
...
Signed-off-by: Anand Kumar Singh <anandrkskd@gmail.com >
2025-03-21 07:47:01 -04:00
sivchari
922d080ae5
chore: upgrade Go to 1.24 ( #22242 )
...
Signed-off-by: sivchari <shibuuuu5@gmail.com >
2025-03-10 10:14:41 -04:00
Mike Cutsail
561cbef5cc
feat: checking user defined roles and policies for referential integrity ( #20825 ) ( #22132 )
...
Signed-off-by: Mike Cutsail <mcutsail15@apple.com >
2025-03-03 10:15:43 -08:00
rumstead
2bcaa19894
revert: add a check for user defined role referential integrity #21065 ( #22130 )
...
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
2025-03-03 22:03:27 +05:30
Mike Cutsail
c71dd1a9e6
feat: add a check for user defined role referential integrity ( #21065 )
...
Signed-off-by: Mike Cutsail <mcutsail15@apple.com >
2025-03-03 06:09:25 -08:00
Blake Pettersson
e6f94f227c
fix(appcontroller): selfhealattemptscount needs to be reset at times ( #22095 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2025-03-02 17:46:39 -05: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
Xiaonan Shen
f548fd7a24
fix: correctly set compareWith when requesting app refresh with delay ( fixes #18998 ) ( #21298 )
...
* fix: correctly set compareWith when requesting app refresh with delay
Signed-off-by: Xiaonan Shen <s@sxn.dev >
* test: add UT
Signed-off-by: Xiaonan Shen <s@sxn.dev >
---------
Signed-off-by: Xiaonan Shen <s@sxn.dev >
Co-authored-by: 沈啸楠 <sxn@shenxiaonandeMacBook-Pro.local >
2025-01-16 00:42:25 -05:00
Michael Crenshaw
bd37458896
chore(refactor): remove app destination inferrence logic ( #21189 )
...
* refactor: remove app destination inferrence logic
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 >
* more fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more fixes
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 >
* fix mocks
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 >
* clusters all the way down
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 >
* test
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 >
* tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* be less radical
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-01-13 13:15:42 -05: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
9f0dc9402f
chore: enable redundant-import-alias from revive ( #21386 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-06 11:30:42 -05:00
Matthieu MOREL
5508d1feda
chore: enable importas for k8s.io/apimachinery/pkg/api/errors ( #21262 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-03 17:09:37 +00:00
Matthieu MOREL
9ea979bbcd
chore: enable use-any from revive ( #21282 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-02 18:26:59 -05:00
Michal Ryšavý
8841b0dd1d
fix: Fix calculating SelfHealBackOff delay when exceeding maximum ( #20976 ) ( #20978 )
...
* test: fix TestSelfHealExponentialBackoff to test exceeding Backoff.Cap
Signed-off-by: Michal Ryšavý <michal.rysavy@ext.csas.cz >
* fix: fix calculating SelfHealBackOff delay when exceeding maximum
Signed-off-by: Michal Ryšavý <michal.rysavy@ext.csas.cz >
---------
Signed-off-by: Michal Ryšavý <michal.rysavy@ext.csas.cz >
Co-authored-by: Michal Ryšavý <michal.rysavy@ext.csas.cz >
2024-12-19 16:07:10 +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
Michael Crenshaw
5cdb1a0a15
chore: use new fake k8s client constructor ( #21186 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-12-16 14:49:30 +05:30
Michael Crenshaw
72c711e7f0
chore: simplify sync status comparison ( #21140 )
...
* chore: simplify sync status comparison
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* add tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more tests, some docs
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-13 17:52:21 +00: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
Manuel Kieweg
8f0d3d0f6a
feat: Timestamp for Health Status ( #16972 ) ( #18660 )
...
* add lastTransitionTime to health status
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* address first feedback
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* set transition time if health status is unknown
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* extend health improvement tests
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* add apoplication controller test
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* use require for NoError
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* more extensive tests for health state changes
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* Apply suggestions from code review
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
Signed-off-by: Manuel Kieweg <2939765+mkieweg@users.noreply.github.com >
* Code review suggestions
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* remove obsolete assert
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
* Change LastTransitionTime field to pointer type
Due to implementation limitations, setting LastTransitionTime at the resource level is challenging.
Converting it to a pointer type allows it to be skipped at the resource level and prevents it from appearing
in .status.resources of the Application CR. Additionally, it doesn’t provide much value or have a known
use case right now.
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Resolve rebase conflicts
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Address review comment
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
* Trigger CI
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
---------
Signed-off-by: Manuel Kieweg <mail@manuelkieweg.de >
Signed-off-by: Manuel Kieweg <2939765+mkieweg@users.noreply.github.com >
Signed-off-by: Siddhesh Ghadi <sghadi1203@gmail.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Siddhesh Ghadi <sghadi1203@gmail.com >
2024-12-06 17:43:36 +05:30
renovate[bot]
b39f3b15fb
chore(deps): update module github.com/golangci/golangci-lint to v1.62.0 ( #20737 )
...
* chore(deps): update module github.com/golangci/golangci-lint to v1.62.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-11-11 05:28:48 +00:00
Alexander Matyushentsev
7c9bd2d2d3
feat: application resource deletion protection ( #20497 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-24 00:08:24 -07:00
Matthieu MOREL
cc989251ef
chore: enable thelper linter ( #20405 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-16 17:37:03 +00: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
Anand Francis Joseph
5f8de971c6
chore: Added unit tests and fix e2e tests for application sync decoupling feature ( #19966 )
...
* fixed doc comments and added unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added comments for the newly added unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Refactored method name to deriveServiceAccountToImpersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Using const name in return value
Signed-off-by: anandf <anjoseph@redhat.com >
* Added unit tests for argocd proj add-destination-service-accounts
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing e2e tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Fix linting errors
Signed-off-by: anandf <anjoseph@redhat.com >
* Using require package instead of assert and fixed code generation
Signed-off-by: anandf <anjoseph@redhat.com >
* Removed parallel execution of tests for sync with impersonate
Signed-off-by: anandf <anjoseph@redhat.com >
* Added err checks for glob validations
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed e2e tests for sync impersonation
Signed-off-by: anandf <anjoseph@redhat.com >
* Using consistently based expects in E2E tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added more unit tests and fixed go generate
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failed lint errors, unit and e2e test failures
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports linter issue
Signed-off-by: anandf <anjoseph@redhat.com >
* Added code comments and added few missing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
* Added missing unit test for GetDestinationServiceAccounts method
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed goimports formatting with local for project_test.go
Signed-off-by: anandf <anjoseph@redhat.com >
* Corrected typo in a field name additionalObjs
Signed-off-by: anandf <anjoseph@redhat.com >
* Fixed failing unit tests
Signed-off-by: anandf <anjoseph@redhat.com >
---------
Signed-off-by: anandf <anjoseph@redhat.com >
2024-10-03 07:37:50 -07: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
pasha-codefresh
473665795c
fix: manifest-generate-paths with autosync causes an undesirable refresh sync ( #19799 )
...
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-09-06 11:40:48 -04:00