Max Gautier
c73796da90
fix: Always create manual long lived token ( #19970 )
...
Signed-off-by: Max Gautier <mg@max.gautier.name >
2025-03-31 14:29:08 +00: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
sivchari
922d080ae5
chore: upgrade Go to 1.24 ( #22242 )
...
Signed-off-by: sivchari <shibuuuu5@gmail.com >
2025-03-10 10:14:41 -04:00
Andrii Korotkov
62ec9fef36
fix: Use t.Fatal instead of os.Exit in tests (part 2) ( #21003 ) ( #22187 )
...
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com >
2025-03-06 19:24:07 +00:00
Matthieu MOREL
9843bfbdf8
chore: use testify instead of native testing ( #21781 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-02-05 09:46:52 -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
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
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
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
6087b4f903
chore: use github.com/golang-jwt/jwt/v5 ( #21276 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-02 18:23:28 -05:00
Michael Crenshaw
843329174b
chore: bump k8s to 1.31 ( #19654 )
...
* chore(deps): bump k8s libs from 0.29.6 to 0.30.2
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* latest commit
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* update known types
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* bump controller-runtime to a version that's compatible with go-client 0.30.x
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* update go-to-protobuf flag
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* handle new requirements for proto file locations
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* bump gitops-engine version
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix openapigen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* remove toolchain
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* bump gitops-engine version
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* chore: enable lint for deprecated symbols
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* chore: bump to k8s 1.31
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 >
* don't be generic if you don't have to be
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* don't be generic if you don't have to be
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* new commit
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* use gitops-engine commit
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-08-23 22:28:34 +00:00
Matthieu MOREL
eac08dcf79
chore: extend require-error rule from testifylint ( #18681 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-15 13:51:18 -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
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
Matthieu MOREL
4a01f8a69a
chore: enable expected-actual rule from testifylint linter ( #18575 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 20:33:00 +00:00
Matthieu MOREL
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -04:00
Matthieu MOREL
44b8dc1a4c
chore: enable len and empty rules from testifylint linter ( #18516 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-07 15:12:50 -04: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
Eng Zer Jun
e8331b4d12
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml ( #13292 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-05-04 18:06:56 -04:00
jannfis
f34687bd80
chore: Replace deprecated ioutil in util packages ( #9848 )
...
Signed-off-by: jannfis <jann@mistrust.net >
2022-07-06 12:45:04 -04:00
Daniel Helfand
73d01b3656
fix: use serviceaccount name instead of struct ( #9614 )
...
* fix: use serviceaccount name instead of struct
Signed-off-by: Daniel Helfand <helfand.4@gmail.com >
* fix: change name of param from sa to serviceAccount
Signed-off-by: Daniel Helfand <helfand.4@gmail.com >
2022-06-08 19:54:12 +00:00
Daniel Helfand
67bc5ee708
fix: create serviceaccount token for v1.24 clusters ( #9546 )
...
* fix: create serviceaccount token for v1.24 clusters
Signed-off-by: Daniel Helfand <helfand.4@gmail.com >
* change create to get in err
Signed-off-by: Daniel Helfand <helfand.4@gmail.com >
2022-06-08 15:23:41 +00:00
Yuan Tang
d6f3f87c69
chore: Migrate to use golang-jwt/jwt v4.2.0 ( #8136 )
...
chore: Migrate to use golang-jwt/jwt v4.2.0 (#8136 )
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com >
2022-01-13 13:12:21 -08: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
kshamajain99
d9e9a9939d
fix: disable jwt claim audience validation #5381 ( #5413 )
...
* fix: disable audience validation
Signed-off-by: kshamajain99 <kshamajain99@gmail.com >
* update other places
Signed-off-by: kshamajain99 <kshamajain99@gmail.com >
2021-02-04 16:38:12 -08:00
jannfis
b314824e31
chore: Upgrade jwt-go to 4.0.0-preview1 ( #5184 )
...
Signed-off-by: jannfis <jann@mistrust.net >
2021-01-05 19:12:50 +01: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
Alexander Matyushentsev
ba71ad934c
refactor: upgrade k8s client to 1.18 ( #4046 )
...
* refactor: upgrade k8s client to 1.18
* remove unnecessary go mod replacements
2020-08-05 11:36:40 -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
jannfis
466c73fa3b
chore: Code coverage offensive 05: util/clusterauth ( #3371 )
...
* Add first batch of clusterauth tests
* More tests
2020-04-07 12:39:24 +02:00
Alex Mironov
4d23fe8108
feat: add "service-account" flag to "cluster add" command ( #3183 ) ( #3184 )
...
* Add "skip-rbac-setup" flag to "cluster add" command
"InstallClusterManagerRBAC" method of the clusterauth package
is somewhat opinionated about rolebindings and role definitions
for "argocd-manager" SA. Sometimes it is desirable however to manually
pre-configure such bindings and/or modify them in order to comply
with existing infrastructure requirements.
This commit introduces a new option "--skip-rbac-setup" which allows operator
to skip the aforementioned "InstallClusterManagerRBAC" method call.
* Modified --skip-rbac-setup into --service-account flag
* use reference instead of hardoded SA name
2020-03-04 14:25:36 +01:00
Alexander Matyushentsev
e9ae87ae67
feat: namespace isolation ( #2176 ) ( #2839 )
...
feat: namespace isolation (#2176 ) (#2839 )
2019-12-17 07:50:11 -08:00
Devan Goodwin
addf397b53
Fix a bug with cluster add when token secret is not first in list. ( #2744 )
2019-12-02 15:34:57 -08:00
Jesse Suen
059275a37f
Server side rotation of cluster bearer tokens ( #1744 )
2019-06-21 13:34:56 -07:00