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 14:14:01 UTC

[camel-k] 02/04: Secret managers parsing errors - GCP Secret Manager

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

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

commit 72bb313b4314b84f39a15a3d3bb5b038bcd24724
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 8 15:09:40 2023 +0100

    Secret managers parsing errors - GCP Secret Manager
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 addons/vault/gcp/gcp_secret_manager.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/addons/vault/gcp/gcp_secret_manager.go b/addons/vault/gcp/gcp_secret_manager.go
index 0b832d682..b423058cc 100644
--- a/addons/vault/gcp/gcp_secret_manager.go
+++ b/addons/vault/gcp/gcp_secret_manager.go
@@ -43,11 +43,11 @@ type Trait struct {
 	// Enables automatic configuration of the trait.
 	Auto *bool `property:"auto" json:"auto,omitempty"`
 	// The Project Id from Google Cloud
-	ProjectID string `property:"project-id,omitempty"`
+	ProjectID string `property:"project-id" json:"projectId,omitempty"`
 	// The Path to a service account Key File to use secrets from Google Secret Manager
-	ServiceAccountKey string `property:"service-account-key,omitempty"`
+	ServiceAccountKey string `property:"service-account-key" json:"serviceAccountKey,omitempty"`
 	// Define if we want to use the Default Instance approach for accessing the Google Secret Manager service
-	UseDefaultInstance *bool `property:"use-default-instance,omitempty"`
+	UseDefaultInstance *bool `property:"use-default-instance" json:"useDefaultInstance,omitempty"`
 }
 
 type gcpSecretManagerTrait struct {