This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch release-1.12.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 8804dfe0fd636b47b9db289c3508937b6855d30c
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Mar 8 14:47:22 2023 +0100

    Secret managers parsing errors - Hashicorp Vault
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 addons/vault/hashicorp/hashicorp_vault.go | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/addons/vault/hashicorp/hashicorp_vault.go 
b/addons/vault/hashicorp/hashicorp_vault.go
index fc2c639e3..b5f22c294 100644
--- a/addons/vault/hashicorp/hashicorp_vault.go
+++ b/addons/vault/hashicorp/hashicorp_vault.go
@@ -41,15 +41,15 @@ type Trait struct {
        // Enables automatic configuration of the trait.
        Auto *bool `property:"auto" json:"auto,omitempty"`
        // The Host to use
-       Host string `property:"host,omitempty"`
+       Host string `property:"host" json:"host,omitempty"`
        // The Port to use
-       Port string `property:"port,omitempty"`
+       Port string `property:"port" json:"port,omitempty"`
        // The Hashicorp engine to use
-       Engine string `property:"engine,omitempty"`
+       Engine string `property:"engine" json:"engine,omitempty"`
        // The token to access Hashicorp Vault
-       Token string `property:"token,omitempty"`
+       Token string `property:"token" json:"token,omitempty"`
        // The scheme to access Hashicorp Vault
-       Scheme string `property:"scheme,omitempty"`
+       Scheme string `property:"scheme" json:"scheme,omitempty"`
 }
 
 type hashicorpVaultTrait struct {

Reply via email to