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

[camel-k] 10/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 3d72ad558ed1c8a9513e805c6b931ed9b49c54a0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 8 14:50:06 2023 +0100

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

diff --git a/docs/modules/traits/pages/hashicorp-vault.adoc b/docs/modules/traits/pages/hashicorp-vault.adoc
index 7fa9b2cc1..ea64b34e8 100644
--- a/docs/modules/traits/pages/hashicorp-vault.adoc
+++ b/docs/modules/traits/pages/hashicorp-vault.adoc
@@ -37,23 +37,23 @@ The following configuration options are available:
 | bool
 | Enables automatic configuration of the trait.
 
-| hashicorp-vault.host,omitempty
+| hashicorp-vault.host
 | string
 | The Host to use
 
-| hashicorp-vault.port,omitempty
+| hashicorp-vault.port
 | string
 | The Port to use
 
-| hashicorp-vault.engine,omitempty
+| hashicorp-vault.engine
 | string
 | The Hashicorp engine to use
 
-| hashicorp-vault.token,omitempty
+| hashicorp-vault.token
 | string
 | The token to access Hashicorp Vault
 
-| hashicorp-vault.scheme,omitempty
+| hashicorp-vault.scheme
 | string
 | The scheme to access Hashicorp Vault
 
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 718650029..1f8538b5f 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: 64554,
+			uncompressedSize: 64448,
 
-			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 [...]
+			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\x8f\x1f\xca\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\xcc\xdc\xbd\xff\xfb\x3d\xa8\x2a\x7c\x74\xb3\x29\x91\xb6\x95\x1d\xed\x64\xe6\x9c\x58\x24\xbb\x0b\x85\x42\xa1\x50\xa8\x4f\x67\xb8\x74\xf6\xec\xc9\x88\x29\xbe\x16\x67\xec\xf7\xb6\xe0\x95\x78\xc2\x58\x5d\x71\x37\xd7\x66\x7d\x [...]
 		},
 	}
 	fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
diff --git a/resources/traits.yaml b/resources/traits.yaml
index 9d3682627..b65d6eba3 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -552,19 +552,19 @@ traits:
   - name: auto
     type: bool
     description: Enables automatic configuration of the trait.
-  - name: host,omitempty
+  - name: host
     type: string
     description: The Host to use
-  - name: port,omitempty
+  - name: port
     type: string
     description: The Port to use
-  - name: engine,omitempty
+  - name: engine
     type: string
     description: The Hashicorp engine to use
-  - name: token,omitempty
+  - name: token
     type: string
     description: The token to access Hashicorp Vault
-  - name: scheme,omitempty
+  - name: scheme
     type: string
     description: The scheme to access Hashicorp Vault
 - name: health