argo-cd/cmd
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
..
argocd/commands fix: Use the cache for sharding (#15237) 2024-01-11 01:32:11 -05:00
argocd-application-controller/commands fix: Use the cache for sharding (#15237) 2024-01-11 01:32:11 -05:00
argocd-applicationset-controller/commands fix(appset): add option to disable SCM providers entirely (#14246) (#15248) 2023-10-03 22:11:40 +00:00
argocd-cmp-server/commands feat(opentelemetry): support for secured OTLP endpoint and headers (#15573) 2023-11-27 10:45:00 +05:30
argocd-dex/commands chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#13292) 2023-05-04 18:06:56 -04:00
argocd-git-ask-pass/commands refactor: improve context handling in cmd/ (#9860) 2022-07-05 09:32:22 -04:00
argocd-k8s-auth/commands feat: Adding kubelogin capability to argocd-k8s-auth (#9460) (#10700) 2023-08-01 22:16:09 +00:00
argocd-notification/commands feat: Argocd notification self service (#16488) 2023-11-30 21:40:33 +00:00
argocd-repo-server/commands feat: webhook should use 'rename' to copy app manifests of previous commit (#16754) 2024-01-05 08:53:52 -08:00
argocd-server/commands feat: webhook should use 'rename' to copy app manifests of previous commit (#16754) 2024-01-05 08:53:52 -08:00
util chore(deps): upgrade k8s version and client-go (#15852) 2023-10-18 08:17:00 -07:00
main.go refactor: replace aws CLI with argocd-k8s-auth (#8032) 2022-04-14 17:25:08 -07:00