Matthieu MOREL
34eeede822
chore(util): Fix modernize linter ( #26329 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2026-02-09 00:44:05 -10:00
lplazas
bc811c5774
fix: allow for backwards compatibility of durations defined in days ( #24769 )
...
Signed-off-by: lplazas <felipe.plazas10@gmail.com >
2025-09-28 23:39:42 +02:00
vetclippy
9922336968
chore: fix some function names in comments ( #24381 )
...
Signed-off-by: vetclippy <vetclippy@icloud.com >
2025-09-06 14:11:58 -04:00
Donghyun Kang
3eb442ed82
fix: correct misleading log and linter directive ( #23824 )
...
Signed-off-by: augustkang <iamaugustkang@gmail.com >
2025-07-17 12:01:49 -04: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
Michael Crenshaw
2bf3f6850e
chore(lint): enable more gocritic linters ( #23328 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-11 23:50:02 -04:00
Matthieu MOREL
5ef4faa8a4
chore: enable nolintlint ( #21559 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-21 13:49:14 -05:00
Mykola Pelekh
dc3f40c31e
fix: avoid resources lock contention ( #8172 ) ( #20329 )
...
* fix: avoid resources lock contention
Signed-off-by: Mykola Pelekh <mpelekh@demonware.net >
* feat: allow enabling batch events processing
Signed-off-by: Mykola Pelekh <mpelekh@demonware.net >
* fix: update ParseDurationFromEnv to handle duration in ms
Signed-off-by: Mykola Pelekh <mpelekh@demonware.net >
* feat: make eventProcessingInterval option configurable (default is 0.1s)
Signed-off-by: Mykola Pelekh <mpelekh@demonware.net >
* use upstream gitops-engine
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Mykola Pelekh <mpelekh@demonware.net >
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-12-16 12:18:11 -05:00
Matthieu MOREL
2998687416
chore: enable perfsprint linter ( #20685 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-11-10 21:00:57 -05:00
Matthieu MOREL
3dcddee199
chore: enable float-compare rule from testifylint ( #18721 )
...
* chore: enable float-compare rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update managed_fields_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-21 14:16:32 -04:00
Matthieu MOREL
9fe1dbfcad
fix: enable misspell linter ( #18412 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-28 12:51:04 +03:00
sivchari
ef96dec5b2
chore: Bump Kubernetes 1.29.2 ( #17491 )
...
* run: go mod tidy
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* change interface of Broadcaster
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* modify some logic due to updating controller-runtime version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* modify some logic due to updating controller-runtime version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix args of GetInformer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix signature for mock
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* update mock
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use ptr instead of pointer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use recommended function instead of deprecated it in wait package
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* run make codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* re-run codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix codegen tasks to pass the codegen
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* replace pointer package with ptr package
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add option to manage subresource
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix len args
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix: error message for updating lib-version
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use poll
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add cache opt
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use ptr instead of pointer
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* add status subresource
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use latest commit
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix watch namespace
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* use latest gitops-engine
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* delete unnecessary polling
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* revert changes in Makefile
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* re-add openapi-gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* codegen w/ correct versions
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* revert
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* extend timeout
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* break loop even if service account does not have secrets
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* fix review points
Signed-off-by: sivchari <shibuuuu5@gmail.com >
* replace gitops-engine
Signed-off-by: sivchari <shibuuuu5@gmail.com >
---------
Signed-off-by: sivchari <shibuuuu5@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-05-08 11:16:18 -04:00
Alexander Matyushentsev
bb4e47a12d
fix: The argocd server api-content-type flag does not allow empty content-type header ( #17331 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-02-28 09:45:44 -08: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
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
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
jannfis
b52098f36a
fix: Trim white space from string slice retrieved from environment ( #10275 )
...
* fix: Trim spaces from string slice retrieved from env
Signed-off-by: jannfis <jann@mistrust.net >
* Add more tests
Signed-off-by: jannfis <jann@mistrust.net >
* Construct slice a little more efficient
Signed-off-by: jannfis <jann@mistrust.net >
* Fix trim logic
Signed-off-by: jannfis <jann@mistrust.net >
Signed-off-by: jannfis <jann@mistrust.net >
2022-08-11 16:22:54 +00:00
Jake
355025240c
fix: configurable CMP tar exclusions ( #9675 ) ( #9789 )
...
* feat: configurable CMP tar exclusions
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* rename cmp to plugin
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* add test for tar stream exclusions
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fix tests
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* update cmp guide
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
* fully parameterize
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
2022-06-29 16:27:02 -04:00
Ragnar Paide
3659b7bb7d
fix: improve timeout.reconciliation error handling ( #8964 )
...
Signed-off-by: Ragnar Paide <ragnar.paide@gmail.com >
2022-04-01 09:38:52 -04:00
jannfis
e01ab05d55
feat: Allow fine-tuning of K8s rest client connection properties ( #8404 )
...
* feat: Allow fine-tuning of K8s rest client connection properties
Signed-off-by: jannfis <jann@mistrust.net >
* Move initialization
Signed-off-by: jannfis <jann@mistrust.net >
2022-02-08 22:57:49 +01:00
May Zhang
3c874ae065
fix: Utilize a backoff for git retried operations ( #7395 )
...
* fix: git retry duration
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix: adjust default values
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix: adjust default values
Signed-off-by: May Zhang <may_zhang@intuit.com >
2021-10-08 14:00:09 -07:00
Ishita Sequeira
f533ed17f0
feat: simplify parametrization of Argo CD server processes ( #6328 )
...
feat: simplify parametrization of Argo CD server processes (#6328 )
Signed-off-by: Ishita Sequeira <isequeir@redhat.com >
2021-06-10 13:03:47 -07:00
jannfis
ae49b45249
chore: Upgrade Go module to v2 ( #5931 )
...
* chore: Upgrade Go module to v2
Signed-off-by: jannfis <jann@mistrust.net >
* Restore import order
Signed-off-by: jannfis <jann@mistrust.net >
* fix knowntypes_normalizer codegen error
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix codegen
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix Procfile
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-04-01 20:44:18 +02:00
jannfis
7a68880e2e
feat: Make TLS to repo-server configurable and optional ( #5764 )
...
feat: Make TLS to repo-server configurable and optional (#5764 )
Signed-off-by: jannfis <jann@mistrust.net >
2021-03-16 09:23:10 -07:00
Alexander Matyushentsev
5889bbb330
feat: support caching helm repo index ( #5661 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-03-03 14:07:59 -08:00
Alexander Matyushentsev
a96b476f16
refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) ( #4652 )
2020-10-27 14:10:24 -07:00
jannfis
bc83719037
chore: Fix complaints of golang-ci lint v1.26.0 ( #3673 )
2020-05-30 18:54:14 -07:00
Alexander Matyushentsev
fe8d47e0ea
feat: move engine code to argoproj/gitops-engine repo ( #3599 )
2020-05-15 14:39:29 -07:00
Alexander Matyushentsev
192ee93fc4
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
Alexander Matyushentsev
f5b600d4af
feat: limit the maximum number of concurrent login attempts ( #3467 )
...
* feat: limit the maximum number of concurrent login attempts
* unit test rate limiter
* address reviewer questions
2020-04-23 12:33:17 -07:00