Secrets: Refactor data_key_id out of the encoded secure value payload (#111852)
* 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
This commit is contained in:
@@ -24,6 +24,7 @@ func TestEncryptedValueQueries(t *testing.T) {
|
||||
Name: "n1",
|
||||
Version: 1,
|
||||
EncryptedData: []byte("secret"),
|
||||
DataKeyID: "test-data-key-id",
|
||||
Created: 1234,
|
||||
Updated: 5678,
|
||||
},
|
||||
@@ -50,6 +51,7 @@ func TestEncryptedValueQueries(t *testing.T) {
|
||||
Name: "n1",
|
||||
Version: 1,
|
||||
EncryptedData: []byte("secret"),
|
||||
DataKeyID: "test-data-key-id",
|
||||
Updated: 5679,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user