Skip to content

Commit 3f8843b

Browse files
mtrzoscopybara-github
authored andcommitted
Add a wrapper function to initialize validators with PluginConfig.
PiperOrigin-RevId: 839654606
1 parent 5e7e15f commit 3f8843b

File tree

4 files changed

+237
-140
lines changed

4 files changed

+237
-140
lines changed

binary/proto/config.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ message PluginSpecificConfig {
4444
OVAConfig ova = 4;
4545
VDIConfig vdi = 5;
4646
VMDKConfig vmdk = 6;
47+
HashiCorpVaultValidatorConfig hashicorp_vault_validator = 7;
4748
}
4849
}
4950

@@ -85,3 +86,9 @@ message VMDKConfig {
8586
// for this specific plugin.
8687
int64 max_file_size_bytes = 1;
8788
}
89+
90+
message HashiCorpVaultValidatorConfig {
91+
// The URL of the Vault server to connect to.
92+
// https://developer.hashicorp.com/vault
93+
string vault_url = 1;
94+
}

0 commit comments

Comments
 (0)