argo-cd/util/db
Ville Vesilehto e20828f869
Merge commit from fork
Fixed a race condition in repository credentials handling by
implementing deep copying of secrets before modification.
This prevents concurrent map read/write panics when multiple
goroutines access the same secret.

The fix ensures thread-safe operations by always operating on
copies rather than shared objects.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-30 10:45:59 -04:00
..
mocks chore: upgrade mockery (#23387) 2025-06-13 19:58:11 +00:00
certificate.go chore(lint): enable regexpSimplify rule from go-critic (#23405) 2025-06-16 08:55:05 -04:00
certificate_test.go chore: upgrade Go to 1.24 (#22242) 2025-03-10 10:14:41 -04:00
cluster.go chore: cherry pick #24235 to release-3.1 (#24238) 2025-08-22 16:29:13 -04:00
cluster_norace_test.go chore: upgrade Go to 1.24 (#22242) 2025-03-10 10:14:41 -04:00
cluster_test.go chore: upgrade Go to 1.24 (#22242) 2025-03-10 10:14:41 -04:00
db.go feat: oci support (Beta) (#18646) 2025-06-06 13:27:02 +02:00
db_test.go chore: upgrade Go to 1.24 (#22242) 2025-03-10 10:14:41 -04:00
gpgkeys.go chore(ci): upgrade golangci-lint to v2 (#22484) 2025-03-27 12:37:52 -04:00
gpgkeys_test.go chore(lint): enable builtinShadow rule from go-critic (#23430) 2025-06-16 21:20:57 +00:00
helmrepository.go chore!: remove legacy repo support (#19768) (#21249) 2025-02-03 20:15:15 +00:00
OWNERS docs: document Argo CD development process (#6546) 2021-07-01 08:55:07 -07:00
repo_creds.go Bump major version to 3 (#21410) 2025-01-10 16:14:00 -05:00
repository.go chore(lint): enable sloppyReassign rule from go-critic (#23443) 2025-06-17 11:46:50 -04:00
repository_secrets.go Merge commit from fork 2025-09-30 10:45:59 -04:00
repository_secrets_test.go Merge commit from fork 2025-09-30 10:45:59 -04:00
repository_test.go chore: upgrade Go to 1.24 (#22242) 2025-03-10 10:14:41 -04:00
secrets.go chore(lint): enable emptyStringTest rule from go-critic (#23400) 2025-06-15 20:25:12 +00:00