Leonardo Luz Almeida
0cdd44bda7
chore: fix gitops-engine mod name so it can be referenced by external repos ( #26407 )
...
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com >
2026-02-12 09:29:40 -05:00
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
Alexandre Gaudreault
d3de4435ce
feat(health): CronJob health and suspend, resume and terminate Job actions ( #23991 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-08-13 16:08:24 -04:00
Michael Crenshaw
9149021b2c
feat(health): add crossplane and upbound health checks ( #21479 ) ( #22919 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-05-22 08:38:40 -04:00
Ratul Basak
111da3966e
feat(actions): parametrized actions to scale workloads ( #15505 ) ( #20097 )
...
Signed-off-by: Ratul Basak <ratulbasak93@gmail.com >
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-05-08 11:19:04 +03: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
Michael Crenshaw
c6b00007f2
fix(actions): don't run empty Lua scripts ( #22084 ) ( #22161 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-03-04 14:25:36 -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
6c45721730
chore: enable early-return from revive ( #21423 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-08 15:26:02 -05:00
Matthieu MOREL
50c49ec8f9
chore: enable unnecessary-stmt from revive ( #21398 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-07 09:56:38 -05: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
Matthieu MOREL
8a6f53d044
chore: enable errorf of perfsprint linter ( #21280 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-30 10:56:41 +02: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
Michael Crenshaw
c216ece3a4
chore(server): better error message for missing action ( #20408 ) ( #20409 )
...
* chore(server): better error message for missing action
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* Update util/lua/lua_test.go
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-10-17 09:28:41 -04:00
Blake Pettersson
5ba2405fa9
fix(health): only consider non-empty health checks ( #20232 )
...
* fix(health): only consider non-empty health checks
For wildcard health checks, only consider wildcards with a non-empty
health check. Fixes #16905 (at least partially).
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: renaming test case for clarity
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: add clarity as to what the function is supposed to do
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* Update docs/operator-manual/health.md
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: add test case for `*/*` override with empty healthcheck
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-10-04 15:34:58 -04:00
Ashu
5776554819
feat(lua actions): add a flag to Include builtin actions with resource overrides ( #19708 )
...
* feat: include prebuilt action with overrides
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com >
Signed-off-by: Ashu <11219262+ashutosh16@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-09-10 11:57:29 -07:00
Yonatan Sasson
f8e2ca717c
fix: JSON unmarshaling error handling and nil return ( #18700 )
...
* fix: JSON unmarshaling error handling and nil return in ExecuteHealthLua function
Signed-off-by: Yonatan Sasson <yonatanxd7@gmail.com >
* Update util/lua/lua.go
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Yonatan Sasson <yonatanxd7@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 >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2024-06-18 02:41:51 +00:00
Matthieu MOREL
9f1e2e8453
chore: enable gocritic linter ( #18633 )
...
* chore: enable gocritic linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update settings.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update util.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update server.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_ns_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update path_traversal.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update sessionmanager.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-13 15:10:00 -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
reggie-k
9d904ae7c0
feat: Create job action ( #12174 and #4116 ) ( #12925 )
...
* Kind wildcard support in health customizations
Signed-off-by: reggie <reginakagan@gmail.com >
* Updated health customizations docs to using the correct field with a /
Signed-off-by: reggie <reginakagan@gmail.com >
* Updated health customizations docs to using the correct field with a /
Signed-off-by: reggie <reginakagan@gmail.com >
* Document resource kind wildcard for custom health check
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Added a custom create-from CronJob action
Signed-off-by: reggie <reginakagan@gmail.com >
* in progress
Signed-off-by: reggie <reginakagan@gmail.com >
* in progress
Signed-off-by: reggie <reginakagan@gmail.com >
* in progress
Signed-off-by: reggie <reginakagan@gmail.com >
* in progress
Signed-off-by: reggie <reginakagan@gmail.com >
* added a ns in the action.lua and fixed tests
Signed-off-by: reggie <reginakagan@gmail.com >
* create-job
Signed-off-by: reggie <reginakagan@gmail.com >
* in progress
Signed-off-by: reggie <reginakagan@gmail.com >
* more changes
Signed-off-by: reggie <reginakagan@gmail.com >
* full unit tests and action returning an array
Signed-off-by: reggie <reginakagan@gmail.com >
* cleanup
Signed-off-by: reggie <reginakagan@gmail.com >
* fix the custom tests
Signed-off-by: reggie <reginakagan@gmail.com >
* e2e tests
Signed-off-by: reggie <reginakagan@gmail.com >
* json marshaling annotations ImpactedResource, e2e tests and docs
Signed-off-by: reggie <reginakagan@gmail.com >
* more docs and tests
Signed-off-by: reggie <reginakagan@gmail.com >
* upstream sync
Signed-off-by: reggie <reginakagan@gmail.com >
* fix wrong return upon going over the impacted resources + docs + fixing e2e tests
Signed-off-by: reggie <reginakagan@gmail.com >
* docs
Signed-off-by: reggie <reginakagan@gmail.com >
* better error handling
Signed-off-by: reggie <reginakagan@gmail.com >
* K8SOperation as an enum
Signed-off-by: reggie <reginakagan@gmail.com >
* added dry-run for create operation
Signed-off-by: reggie <reginakagan@gmail.com >
* small changes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* ref to my gitops-engine fork out
Signed-off-by: reggie <reginakagan@gmail.com >
* ref to my gitops-engine fork out
Signed-off-by: reggie <reginakagan@gmail.com >
* ref to my gitops-engine fork out
Signed-off-by: reggie <reginakagan@gmail.com >
* ref to my gitops-engine fork out
Signed-off-by: reggie <reginakagan@gmail.com >
* ref to my gitops-engine fork out
Signed-off-by: reggie <reginakagan@gmail.com >
* gitops engine dependency and test fixes
Signed-off-by: reggie <reginakagan@gmail.com >
* add workflows action
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* cronworkflow and workflowtemplate actions
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* update gitops-engine
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: reggie <reginakagan@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-06-23 14:45:53 -04:00
reggie-k
d5a961c7f6
feat: Shared custom health check for multiple resources ( #4212 ) ( #10885 )
...
* Kind wildcard support in health customizations
Signed-off-by: reggie <reginakagan@gmail.com >
* Updated health customizations docs to using the correct field with a /
Signed-off-by: reggie <reginakagan@gmail.com >
* Updated health customizations docs to using the correct field with a /
Signed-off-by: reggie <reginakagan@gmail.com >
* Document resource kind wildcard for custom health check
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Implemented wildcard * support in API Group and Resource Kind and updated docs
Signed-off-by: reggie <reginakagan@gmail.com >
* Removed code duplication and returned an empty string instead of an error
Signed-off-by: reggie <reginakagan@gmail.com >
Signed-off-by: reggie <reginakagan@gmail.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2022-11-08 08:42:08 -05:00
Josh Soref
1602ec992d
chore: Spelling ( #5373 )
...
* spelling: across
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: anyway
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: assessment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: attribute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: crlf
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: cmux
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: committed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: convenience
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: does-not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: e.g.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fall back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fall back to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: then ... falls back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: formatted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: gitops
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: health checks
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: located
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: logging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: oidc
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: openshift
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: os
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: preferred
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: redact
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: repo
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: similarly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: staging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: statefulset
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: stopped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: superseded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: synchronization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: unified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: verification
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: zookeeper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2021-07-13 19:02:03 +02:00
Alexander Matyushentsev
2da0e81b05
fix: missing live resources without a health check should not affect application health ( #6446 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-06-10 13:29:22 -07:00
Alexander Matyushentsev
3f32a750a0
chore: use go embed instead of packr ( #6262 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-05-18 20:46:17 -07:00
Chetan Banavikalmutt
deac72f05f
feat: allow admins to enable the usage of lua standard library ( #6087 )
...
Currently, the usage of standard lua library is always disabled, making it difficult to implement complex health check scripts.
This feat allow admins to control the usage of standard library by setting "health.lua.useOpenLibs" (merged-keys convention)/"resource.customizations.useOpenLibs.<group_kind>"
(split-keys convention) field in argocd-cm ConfigMap.
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com >
2021-05-04 08:25:51 +02: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
May Zhang
fdb5ada06d
fix: Revert "feat: Add health check for HPA ( #4915 )" ( #5006 )
...
* Revert "feat: Add health check for HPA (#4915 )"
This reverts commit f6a32a9e
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix: revert health check
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix: remove extra line
Signed-off-by: May Zhang <may_zhang@intuit.com >
2020-12-08 16:32:20 -08:00
Chetan Banavikalmutt
f6a32a9ebc
feat: Add health check for HPA ( #4915 )
...
HorizontalPodAutoscaler uses annotations to store conditions. This commit adds a custom heath check that parses the conditions from annotation and creates health status.
Fixes : #4413
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com >
2020-12-01 09:44:10 -08: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
Simon Behar
88e9cf0e18
Change "available" to "disabled" in actions, make them available by default ( #2470 )
...
* Done
* Fixes
* Done
* Done
* Added minor comment
2019-10-10 20:34:40 -07:00
Simon Behar
dd21ab92ad
Granular RBAC Support for actions ( #2110 )
2019-10-03 17:11:42 -07:00
Jesse Suen
dc322f8a1f
Add restart action to Deployment/StatefulSet/DaemonSet ( #2300 )
2019-09-13 02:50:57 -07:00
Alexander Matyushentsev
90e44c092a
Issue #86 - Custom actions bug fixing ( #1494 )
2019-04-19 10:27:12 -07:00
dthomson25
4541ca664a
Initial Custom Actions Implementation ( #1369 )
2019-04-16 14:50:44 -07:00
Alexander Matyushentsev
506d95da10
Issue #1294 - CLI diff should take into account resource customizations ( #1337 )
...
* Issue #1294 - CLI diff should take into account resource customizations
* Apply reviewer notes: add comments to type definition and e2e test
2019-04-02 13:59:55 -07:00
dthomson25
a9d352efb2
Add suspended status ( #1187 )
2019-02-27 14:36:25 -08:00
Jesse Suen
8295a5cc6b
Fix reconcile hotloop due to incorrect app source equality check ( #1170 )
2019-02-25 10:51:24 -08:00
Danny Thomson
00421bb46e
Add custom resource health through lua
2019-01-31 11:46:09 -08:00