* everything compiles * tests pass * remove file included by accident * add entry to gitignore * some scaffolding for the migration executor * remove file * implement and test the migration * use xkube.Namespace in our interfaces * add todo * update wire deps * add some logs * fix wire dependency ordering * create tests to validate error conditions during migrations
12 lines
369 B
SQL
12 lines
369 B
SQL
UPDATE
|
|
{{ .Ident "secret_encrypted_value" }}
|
|
SET
|
|
{{ .Ident "encrypted_data" }} = {{ .Arg .EncryptedData }},
|
|
{{ .Ident "data_key_id" }} = {{ .Arg .DataKeyID }},
|
|
{{ .Ident "updated" }} = {{ .Arg .Updated }}
|
|
WHERE
|
|
{{ .Ident "namespace" }} = {{ .Arg .Namespace }} AND
|
|
{{ .Ident "name" }} = {{ .Arg .Name }} AND
|
|
{{ .Ident "version" }} = {{ .Arg .Version }}
|
|
;
|