Jonathan Ogilvie
ddce93cfdd
feat: cross namespace hierarchy traversal from cluster-scoped parents to namespaced children ( fixes #24379 ) ( #24847 )
...
Signed-off-by: Jonathan Ogilvie <jonathan.ogilvie@sumologic.com >
2025-12-15 02:30:41 +00:00
Peter Jiang
660295f656
chore: bump gitops engine + remove IterateHierarchyv1 ( #23924 )
...
Signed-off-by: Peter Jiang <peterjiang823@gmail.com >
2025-07-25 16:25:58 -07: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
Michael Crenshaw
30a0088c84
chore: enable lint for unused private fields ( #23242 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-05 07:47:55 -04:00
Oleksandr Saulyak
be3efbd98f
fix: settings request doesn't return default tracking method ( #22965 )
...
Signed-off-by: oleksandr-codefresh <oleksandr.saulyak@octopus.com >
Co-authored-by: Regina Voloshin <regina.voloshin@codefresh.io >
2025-05-15 11:26:47 +03:00
Xiaopeng Han
299286dea1
fix: app tree parentRef response missing version info ( #22927 )
...
Signed-off-by: xiaopeng <hanxiaop8@outlook.com >
2025-05-12 14:30:22 +05:30
Michael Crenshaw
910b9518e4
feat(controller): enable batch event processing by default ( #22338 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-03-13 17:40:31 -04:00
Michael Crenshaw
806c5f6b6d
fix: return cluster URL in error message, not full cluster object ( #22094 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-02-28 21:10:00 +00:00
Matthieu MOREL
c1b2f78f46
chore: enable var-naming from revive ( #21861 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-02-18 11:02:38 -05:00
ivanscai
d183d9c614
fix: dynamic cluster distribution issue 20965, update the shard… ( #21042 )
...
Signed-off-by: caijing <caijing.cai@alibaba-inc.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2025-02-09 22:25:34 -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
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
Michael Crenshaw
1a9f22625d
fix(controller): rename cluster batch param and add to argocd-cmd-params-cm ( #21402 )
...
* fix(controller): rename cluster batch param and add to argocd-cmd-params-cm
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* parameterize deployment too
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* consistency
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-08 07:34:29 -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
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
e66068c11b
chore: enable var-declaration from revive ( #21370 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-03 18:44:23 -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
ceb758c877
chore: import k8s.io/api/core/v1 as corev1 ( #21345 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-03 11:10:00 -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
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
ABBOUD Moncef
fe7771cc83
fix: handle incorrect cluster RESTconfig without panic ( #20150 )
...
Signed-off-by: cef <moncef.abboud95@gmail.com >
2024-10-06 17:55:26 +03:00
Alexander Matyushentsev
03a16099b0
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-04 17:54:37 -07:00
kahoulei
75e73834bf
feat: Add ignore-resources-tracking annotation to ignore resources update ( #18343 )
...
* feat: Add ignore-resources-tracking annotation to ignore resources update
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* refactor annotation usage base on comment feedback
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation
Signed-off-by: kahoulei <kahou.lei@okta.com >
* do not store boolean in resourceInfo
Signed-off-by: kahoulei <kahou.lei@okta.com >
* typo
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update logic
Signed-off-by: kahoulei <kahou.lei@okta.com >
* refactor
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add comment
Signed-off-by: kahoulei <kahou.lei@okta.com >
* add tests
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update code base on comment feedback
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation doc
Signed-off-by: kahoulei <kahou.lei@okta.com >
* fix goimport
Signed-off-by: kahoulei <kahou.lei@okta.com >
* fix golint
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update comments
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update docs
Signed-off-by: kahoulei <kahou.lei@okta.com >
* update annotation name
Signed-off-by: kahoulei <kahou.lei@okta.com >
* rename annotation
Signed-off-by: kahoulei <kahou.lei@okta.com >
* lint check
Signed-off-by: kahoulei <kahou.lei@okta.com >
---------
Signed-off-by: kahoulei <kahou.lei@okta.com >
Co-authored-by: kahoulei <kahou.lei@okta.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-07-29 11:26:50 -04:00
Andrii Korotkov
c59cb52b27
chore: Use more optimal iterate hierarchy v2 ( #18929 ) ( #18972 )
...
Closes #18929
Helps with #18500
Use iterate hierarchy v2 to have a roughly linear performance for getting the resource tree instead of up to quadratic.
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
2024-07-19 11:37:13 -04:00
Cayde6
06b0f957b8
chore(migrate): migrate mockery codegen to use packages( #18579 ) ( #18617 )
...
* chore(migrate): mockery migrate to packages
migrate interface
- remove go:generate
- generate mock
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
* chore(migrate: mockery migrate to package
add mockgen stage
- add mockgen command to Makefile
- add generate-mock.sh
- add install mockery to install-codegen-go-tool.sh
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
---------
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
2024-07-02 10:48:38 -04:00
Matthieu MOREL
140f17255a
chore: enable errorlint linter on controller folder ( #18596 )
...
* chore: enable errorlint linter on controller folder
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update cache.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update cache.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:33:22 -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
Blake Pettersson
049900e646
chore: automate mock generation v2 ( #18371 )
...
* Add go:generate statements for mockery
Signed-off-by: Will Roden <will@roden.cc >
* revert whitespace change
Signed-off-by: Will Roden <will@roden.cc >
* go generate everything
Signed-off-by: Will Roden <will@roden.cc >
* make gogen
Signed-off-by: Will Roden <will@roden.cc >
* chore: upgrade to mockery v2.40.2
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Will Roden <will@roden.cc >
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Will Roden <will@roden.cc >
2024-05-23 11:15:15 +03:00
Arata Furukawa
36ff5cf1e1
fix: copy visited map #11699 ( #12667 )
...
This commit fixed an issue #11699 that caused a warning even if the cycle didn't exist.
Fix false cycle discovery by copying the visited resource map before recursively calling of getAppRecursive.
Fixes #11699
Signed-off-by: Arata Furukawa <old.river.new@gmail.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
2024-05-14 15:37:20 -07: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
Mangaal
766a6da2cd
feat: Enhance ArgoCD CLI: Dynamic Repo Server Retrieval with --core and --refresh Flags ( #17613 )
...
* add const key value for ComponentRepoServer
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* update NewRepoServerClient() to look for service with ComponentRepoServer labels , if the label exist construct label selector PortForward
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* add comment for the new constants
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* instead of passing nil which leads to nil ptr referance error, pass empty ClusterSharding{}
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* check for operator install repo server name
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* handle empty nil ptr dereference error
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* handle nil prt dereference
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* typo correction
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
* run clidocsgen
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
---------
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com >
2024-03-29 14:49:16 -04:00
Pelen
d76976ff12
fix: add retry condition with kube-apiserver sent GOAWAY ( #17422 )
...
Signed-off-by: penglongli <pelenli@tencent.com >
2024-03-07 09:50:34 -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
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
Brad West
fec5b522a4
feat: Add ARGOCD_CLUSTER_CACHE_LIST_PAGE_BUFFER_SIZE environment variable ( #15159 )
...
Signed-off-by: Brad West <brad.g.west@gmail.com >
2023-09-06 22:01:35 -04:00
gdsoumya
4fadd9e541
feat: auto respect rbac for discovery/sync ( #14381 )
...
feat: auto respect rbac for discovery/sync (#14381 )
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2023-09-06 10:41:30 -07:00
Michael Crenshaw
21c71320bc
chore: wrap ComparisonError messages ( #14886 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-08-03 22:06:19 +00:00
Nathan Romriell
2f84dacc03
fix(controller): cache deadlock on delete and re-add cluster ( #14780 )
...
Signed-off-by: Nathan Romriell <nateromriell@gmail.com >
2023-07-31 09:04:01 -07:00
Alexandre Gaudreault
53db27e88a
fix: deadlock in controller ( #14304 )
...
Signed-off-by: Alexandre Gaudreault <alexandre.gaudreault@logmein.com >
2023-07-01 16:32:33 -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
Alexander Matyushentsev
325878c4d1
fix: avoid acquiring lock on two mutexes at the same time to prevent deadlock ( #13636 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-05-18 19:20:13 +00:00
fsl
60c4ed1c27
chore: Comment format ( #12399 )
...
* feat: Comment format
Signed-off-by: fengshunli <1171313930@qq.com >
* Apply suggestions from code review
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: fengshunli <1171313930@qq.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-29 19:41:22 +00:00
Tsubasa Nagasawa
42d1c85d75
fix: suppress Kubernetes API deprecation warnings from application controller ( #12067 )
...
Completely suppress warning logs only for log levels that are less than Debug.
Signed-off-by: toVersus <toversus2357@gmail.com >
2023-03-06 16:48:06 -05:00
Jellyfrog
584428edaf
fix: populate parentRefs correctly with multiple owners ( #3910 ) ( #11715 )
...
* fix: populate parentRefs correctly with multiple owners
It previously simply wrote to key 0, instead of appending all owners
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com >
* test multiple resource owners
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.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-01-19 11:57:45 -05:00
Alex Eftimie
0ea88b7d72
feature: allow a custom labels on any resource to surface in the UI (tree view node tags) ( #11153 )
...
* feature: allow a custom label on any resource to surface the UI
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2022-11-18 22:29:22 +00:00
Prajilesh N
6e9e16e80f
chore: improve error logs ( #10933 )
...
Signed-off-by: Prajilesh <nprajilesh@gmail.com >
Signed-off-by: Prajilesh <nprajilesh@gmail.com >
2022-10-13 17:53:06 -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
jannfis
2a3c69279f
fix: Make change of tracking method work at runtime ( #9820 )
...
* fix: Make change of tracking method work at runtime
Signed-off-by: jannfis <jann@mistrust.net >
* GetAppName() will figure tracking label or annotation on its own
Signed-off-by: jannfis <jann@mistrust.net >
* Correct test comments and add another test
Signed-off-by: jannfis <jann@mistrust.net >
* Add a read lock before getting cache settings
Signed-off-by: jannfis <jann@mistrust.net >
2022-07-06 18:53:38 +02:00
Yuan Tang
8dcf71f0a7
feat: Treat connection reset as a retryable error ( #9739 )
...
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com >
2022-06-29 08:52:28 -07:00