* 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>
9 lines
257 B
SQL
9 lines
257 B
SQL
UPDATE
|
|
{{ .Ident "secret_secure_value" }}
|
|
SET
|
|
{{ .Ident "external_id" }} = {{ .Arg .ExternalID }}
|
|
WHERE
|
|
{{ .Ident "namespace" }} = {{ .Arg .Namespace }} AND
|
|
{{ .Ident "name" }} = {{ .Arg .Name }} AND
|
|
{{ .Ident "version" }} = {{ .Arg .Version }}
|
|
; |