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:
@@ -8,15 +8,17 @@ SELECT
|
||||
`created_by`,
|
||||
`updated`,
|
||||
`updated_by`,
|
||||
`status_phase`,
|
||||
`status_message`,
|
||||
`description`,
|
||||
`keeper`,
|
||||
`decrypters`,
|
||||
`ref`,
|
||||
`external_id`
|
||||
`external_id`,
|
||||
`active`,
|
||||
`version`
|
||||
FROM
|
||||
`secret_secure_value`
|
||||
WHERE `namespace` = 'ns' AND
|
||||
`name` = 'name'
|
||||
WHERE
|
||||
`namespace` = 'ns' AND
|
||||
`name` = 'name' AND
|
||||
`active` = true
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user