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 85a115434fbbe529443e4c54639d3db911ec8e07
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Mar 8 14:35:56 2023 +0100

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

diff --git a/addons/vault/gcp/gcp_secret_manager.go 
b/addons/vault/gcp/gcp_secret_manager.go
index 1ba60df39..3eb6a94ec 100644
--- a/addons/vault/gcp/gcp_secret_manager.go
+++ b/addons/vault/gcp/gcp_secret_manager.go
@@ -47,21 +47,21 @@ 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"`
        // Define if we want to use the Camel Context Reload feature or not
-       ContextReloadEnabled *bool `property:"context-reload-enabled,omitempty"`
+       ContextReloadEnabled *bool `property:"context-reload-enabled" 
json:"contextReloadEnabled,omitempty"`
        // Define if we want to use the Refresh Feature for secrets
-       RefreshEnabled *bool `property:"refresh-enabled,omitempty"`
+       RefreshEnabled *bool `property:"refresh-enabled" 
json:"refreshEnabled,omitempty"`
        // If Refresh is enabled, this defines the interval to check the 
refresh event
-       RefreshPeriod string `property:"refresh-period,omitempty"`
+       RefreshPeriod string `property:"refresh-period" 
json:"refreshPeriod,omitempty"`
        // If Refresh is enabled, the regular expression representing the 
secrets we want to track
-       Secrets string `property:"refresh-period,omitempty"`
+       Secrets string `property:"secrets" json:"secrets,omitempty"`
        // If Refresh is enabled, this defines the subscription name to the 
Google PubSub topic used to keep track of updates
-       SubscriptionName string `property:"refresh-period,omitempty"`
+       SubscriptionName string `property:"subscription-name" 
json:"subscriptionName,omitempty"`
 }
 
 type gcpSecretManagerTrait struct {

Reply via email to