You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/03/08 13:50:42 UTC

[camel-k] 09/10: Secret managers parsing errors - Hashicorp Vault

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

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

commit 1214238c39d88853086788311fe5625b52d032f4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 8 14:47:22 2023 +0100

    Secret managers parsing errors - Hashicorp Vault
    
    Signed-off-by: Andrea Cosentino <an...@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 {