Secrets: make operations sync (#107732)

* Secrets: make operations sync

* k8s gen / update query to list secure values to include the version

* always store new version of a secret

* make update-workspace

* go mod tidy

* update queries

* update queries

* improve and use testutils in decrypt_store_test

* fix broken test

* make update-workspace

* ./hack/update-codegen.sh secret

* update Test_SecureValueMetadataStorage_CreateAndRead

* undo dependency changes

* linter: fix remaining errors

---------

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
This commit is contained in:
Bruno
2025-07-09 10:43:34 -03:00
committed by GitHub
parent ded7912ea3
commit 8283d35e56
112 changed files with 873 additions and 3490 deletions
@@ -8,7 +8,8 @@ INSERT INTO "secret_secure_value" (
"created_by",
"updated",
"updated_by",
"status_phase",
"active",
"version",
"description",
"external_id"
) VALUES (
@@ -21,7 +22,8 @@ INSERT INTO "secret_secure_value" (
'user:ryan',
5678,
'user:cameron',
'creating',
FALSE,
1,
'description',
'extId'
);