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:41 UTC

[camel-k] 08/10: Secret managers parsing errors - Azure Key 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 91a3ea85ac5e1fecdaf8cb7d229ca7fcf50911d4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 8 14:46:18 2023 +0100

    Secret managers parsing errors - Azure Key Vault
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/traits/pages/azure-key-vault.adoc | 24 ++++++++++++------------
 pkg/resources/resources.go                     |  4 ++--
 resources/traits.yaml                          | 24 ++++++++++++------------
 3 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/docs/modules/traits/pages/azure-key-vault.adoc b/docs/modules/traits/pages/azure-key-vault.adoc
index a6240dcba..48303a037 100644
--- a/docs/modules/traits/pages/azure-key-vault.adoc
+++ b/docs/modules/traits/pages/azure-key-vault.adoc
@@ -41,51 +41,51 @@ The following configuration options are available:
 | bool
 | Enables automatic configuration of the trait.
 
-| azure-key-vault.tenant-id,omitempty
+| azure-key-vault.tenant-id
 | string
 | The Azure Tenant Id for accessing Key Vault
 
-| azure-key-vault.client-id,omitempty
+| azure-key-vault.client-id
 | string
 | The Azure Client Id for accessing Key Vault
 
-| azure-key-vault.client-secret,omitempty
+| azure-key-vault.client-secret
 | string
 | The Azure Client Secret for accessing Key Vault
 
-| azure-key-vault.vault-name,omitempty
+| azure-key-vault.vault-name
 | string
 | The Azure Vault Name for accessing Key Vault
 
-| azure-key-vault.context-reload-enabled,omitempty
+| azure-key-vault.context-reload-enabled
 | bool
 | Define if we want to use the Camel Context Reload feature or not
 
-| azure-key-vault.refresh-enabled,omitempty
+| azure-key-vault.refresh-enabled
 | bool
 | Define if we want to use the Refresh Feature for secrets
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.refresh-period
 | string
 | If Refresh is enabled, this defines the interval to check the refresh event
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.secrets
 | string
 | If Refresh is enabled, the regular expression representing the secrets we want to track
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.eventhub-connection-string
 | string
 | If Refresh is enabled, the connection String to point to the Eventhub service used to track updates
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.blob-account-name
 | string
 | If Refresh is enabled, the account name for Azure Storage Blob service used to save checkpoint while consuming from Eventhub
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.blob-access-key
 | string
 | If Refresh is enabled, the access key for Azure Storage Blob service used to save checkpoint while consuming from Eventhub
 
-| azure-key-vault.refresh-period,omitempty
+| azure-key-vault.blob-container-name
 | string
 | If Refresh is enabled, the container name for Azure Storage Blob service used to save checkpoint while consuming from Eventhub
 
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index fc8764f5b..718650029 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -611,9 +611,9 @@ var assets = func() http.FileSystem {
 		"/traits.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "traits.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 64638,
+			uncompressedSize: 64554,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xfd\x77\x1b\x37\x92\x28\xfa\xbb\xff\x0a\x1c\xee\xdb\x23\xc9\x4f\x24\x95\xcc\x66\x36\xab\xf7\xbc\x73\x15\xc7\xc9\x28\x89\x6d\x5d\x4b\xc9\xec\x1c\x5f\x9f\x21\xd8\x0d\x92\x30\x9b\x40\x0f\x80\xa6\xcc\xdc\xbd\xff\xfb\x3d\xa8\x2a\x7c\x74\xb3\x29\x91\xb6\x95\x1d\xed\x7c\x9c\x13\x8b\x64\x77\xa1\x50\x28\x14\x0a\xf5\xe9\x0c\x97\xce\x9e\x3f\x19\x32\xc5\x57\xe2\x9c\xfd\xce\x16\xbc\x12\x4f\x18\xab\x2b\xee\x66\xda\xac\xce\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xfd\x77\x1b\x37\x92\x28\xfa\xbb\xff\x0a\x1c\xee\xdb\x23\xc9\x4f\x24\x95\xcc\x66\x36\xab\xf7\xbc\x73\x15\xc7\xc9\x28\x89\x6d\x5d\x4b\xc9\xec\x1c\x5f\x9f\x21\xd8\x0d\x92\x30\x9b\x40\x0f\x80\x96\xc4\xdc\xbd\xff\xfb\x3d\xa8\x2a\x7c\x74\xb3\x29\x91\xb6\x94\x1d\xed\x7c\x9c\x13\x8b\x64\x77\xa1\x50\x28\x14\x0a\xf5\xe9\x0c\x97\xce\x9e\x3e\x1b\x32\xc5\x57\xe2\x94\xfd\xce\x16\xbc\x12\xcf\x18\xab\x2b\xee\x66\xda\xac\x4e\x [...]
 		},
 	}
 	fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
diff --git a/resources/traits.yaml b/resources/traits.yaml
index 13ec2ef93..9d3682627 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -147,45 +147,45 @@ traits:
   - name: auto
     type: bool
     description: Enables automatic configuration of the trait.
-  - name: tenant-id,omitempty
+  - name: tenant-id
     type: string
     description: The Azure Tenant Id for accessing Key Vault
-  - name: client-id,omitempty
+  - name: client-id
     type: string
     description: The Azure Client Id for accessing Key Vault
-  - name: client-secret,omitempty
+  - name: client-secret
     type: string
     description: The Azure Client Secret for accessing Key Vault
-  - name: vault-name,omitempty
+  - name: vault-name
     type: string
     description: The Azure Vault Name for accessing Key Vault
-  - name: context-reload-enabled,omitempty
+  - name: context-reload-enabled
     type: bool
     description: Define if we want to use the Camel Context Reload feature or not
-  - name: refresh-enabled,omitempty
+  - name: refresh-enabled
     type: bool
     description: Define if we want to use the Refresh Feature for secrets
-  - name: refresh-period,omitempty
+  - name: refresh-period
     type: string
     description: If Refresh is enabled, this defines the interval to check the refresh
       event
-  - name: refresh-period,omitempty
+  - name: secrets
     type: string
     description: If Refresh is enabled, the regular expression representing the secrets
       we want to track
-  - name: refresh-period,omitempty
+  - name: eventhub-connection-string
     type: string
     description: If Refresh is enabled, the connection String to point to the Eventhub
       service used to track updates
-  - name: refresh-period,omitempty
+  - name: blob-account-name
     type: string
     description: If Refresh is enabled, the account name for Azure Storage Blob service
       used to save checkpoint while consuming from Eventhub
-  - name: refresh-period,omitempty
+  - name: blob-access-key
     type: string
     description: If Refresh is enabled, the access key for Azure Storage Blob service
       used to save checkpoint while consuming from Eventhub
-  - name: refresh-period,omitempty
+  - name: blob-container-name
     type: string
     description: If Refresh is enabled, the container name for Azure Storage Blob
       service used to save checkpoint while consuming from Eventhub