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
Matthieu MOREL
d7e99224d4
chore: enable errorlint linter on util folder ( #18588 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 10:42:32 -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
Michael Crenshaw
6baca2066f
chore: better logs for jq expression errors ( #15226 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-25 09:38:31 -04:00
Alexandre Gaudreault
88994ea5cd
feat: add ignoreResourceUpdates to reduce controller CPU usage ( #13534 ) ( #13912 )
...
* feat: ignore watched resource update
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add doc and CLI
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc index
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add command
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* revert formatting
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* do not skip on health change
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* update logging to use context
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* fix typos. local build broken...
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* change after review
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* manifestHash to string
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* more doc
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* example for argoproj Application
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* add unit test for ignored logs
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* codegen
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* move hash and set log to debug
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* Update util/settings/settings.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* feature flag
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* less aggressive managedFields ignore rule
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Update docs/operator-manual/reconcile.md
Co-authored-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
* use local settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* latest settings
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* safety first
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* since it's behind a feature flag, go aggressive on overrides
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.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-06-25 01:32:20 +00:00
jannfis
47187bd30e
fix: Prevent possible nil-pointer deref in normalizer ( #8185 )
...
Signed-off-by: jannfis <jann@mistrust.net >
2022-01-14 21:37:31 +01:00
Jake Utley
86d0ee6982
feat: allow jq path expressions in diffing customizations ( #4320 ) ( #6109 )
...
* Add jqPathExpression field and implementation for ignoreDifferences
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add a couple tests for jqPathExpression
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add JQPathExpressions into relevant types in types.go
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add documentation for jq path expressions
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add Hiya to USERS.md
Signed-off-by: Jake Utley <jutley@hiya.com >
* Update generated code
Signed-off-by: Jake Utley <jutley@hiya.com >
* Do not require jsonPointers or jqPathExpressions
Signed-off-by: Jake Utley <jutley@hiya.com >
* Fix some linting issues
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add test for valid jq that produces error
Signed-off-by: Jake Utley <jutley@hiya.com >
* Add test to correctly parse jqPathExpressions from split key configs
Signed-off-by: Jake Utley <jutley@hiya.com >
* regen
Signed-off-by: Jake Utley <jutley@hiya.com >
2021-06-03 22:06:55 -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
Alexander Matyushentsev
dfd7457c21
fix: use glob matcher in casbin built-in model ( #3966 )
2020-07-20 13:55:19 -07:00
Darshan Chaudhary
b3c118d4c0
feat: ignore status globally ( #3754 )
...
feat: ignore status globally (#3754 )
2020-07-02 23:28:36 -07:00
Alexander Matyushentsev
ee64a4d9ca
fix: upgrade gitops engine dependency ( #3668 )
2020-05-28 18:42:01 -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
35b40cdb22
fix: support both <group>/<kind> as well as <kind> as a resource override key ( #3433 )
2020-04-17 09:23:19 -07:00
Alexander Matyushentsev
5448466ddc
feat: support normalizing CRD fields that use known built-in K8S types ( #3357 )
...
* feat: support normalizing CRD fields that use known built-in K8S types
* apply reviewers notes
* fix codegen
2020-04-06 21:13:50 +02:00