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/02/14 06:29:57 UTC
[camel-k] branch main updated (4da490f36 -> 928bacd61)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 4da490f36 chore: nightly resource refresh
new b1019f9a7 feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - trait docs update
new 5ac52ea00 feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - Regen docs
new 6b087ae8b feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - trait docs update
new 6118ae171 feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - Regen docs
new e517369b2 feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - trait docs update
new ce9e9a369 feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - Regen docs
new 928bacd61 Regen
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
addons/vault/aws/aws_secrets_manager.go | 5 +++++
addons/vault/azure/azure_key_vault.go | 4 ++++
addons/vault/gcp/gcp_secret_manager.go | 4 ++++
docs/modules/traits/pages/aws-secrets-manager.adoc | 4 ++++
docs/modules/traits/pages/azure-key-vault.adoc | 4 ++++
docs/modules/traits/pages/gcp-secret-manager.adoc | 4 ++++
pkg/resources/resources.go | 4 ++--
resources/traits.yaml | 24 +++++++++++++++++++---
8 files changed, 48 insertions(+), 5 deletions(-)
[camel-k] 01/07: feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - trait docs update
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit b1019f9a753f6efca5d530cff1f2e86d5a600363
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:02:09 2023 +0100
feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - trait docs update
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
addons/vault/aws/aws_secrets_manager.go | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/addons/vault/aws/aws_secrets_manager.go b/addons/vault/aws/aws_secrets_manager.go
index e9f12ec08..377df6073 100644
--- a/addons/vault/aws/aws_secrets_manager.go
+++ b/addons/vault/aws/aws_secrets_manager.go
@@ -37,6 +37,11 @@ import (
// the following trait options:
// -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key" -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
//
+// To enable the automatic context reload on secrets updates you should define
+// the following trait options:
+// -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key" -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region" -t aws-secrets-manager.context-reload-enabled="true" -t aws-secrets-manager.refresh-enabled="true" -t aws-secrets-manager.refresh-period="30000" -t aws-secrets-manager.secrets="test*"
+//
+//
// +camel-k:trait=aws-secrets-manager.
type Trait struct {
traitv1.Trait `property:",squash"`
[camel-k] 03/07: feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - trait docs update
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 6b087ae8b65e4309de7855009352dbb88462763e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:14:03 2023 +0100
feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - trait docs update
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
addons/vault/gcp/gcp_secret_manager.go | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/addons/vault/gcp/gcp_secret_manager.go b/addons/vault/gcp/gcp_secret_manager.go
index fb2549bb0..1ba60df39 100644
--- a/addons/vault/gcp/gcp_secret_manager.go
+++ b/addons/vault/gcp/gcp_secret_manager.go
@@ -37,6 +37,10 @@ import (
// the following trait options:
// -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id" -t gpc-secret-manager.service-account-key="file:serviceaccount.json"
//
+// To enable the automatic context reload on secrets updates you should define
+// the following trait options:
+// -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id" -t gpc-secret-manager.service-account-key="file:serviceaccount.json" -t gcp-secret-manager.subscription-name="pubsub-sub" -t gcp-secret-manager.context-reload-enabled="true" -t gcp-secret-manager.refresh-enabled="true" -t gcp-secret-manager.refresh-period="30000" -t gcp-secret-manager.secrets="test*"
+//
// +camel-k:trait=gcp-secret-manager.
type Trait struct {
traitv1.Trait `property:",squash"`
[camel-k] 06/07: feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - Regen docs
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit ce9e9a369aebdd92255b783fea32b0464311534c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:23:57 2023 +0100
feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - Regen docs
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
docs/modules/traits/pages/azure-key-vault.adoc | 4 ++++
resources/traits.yaml | 10 +++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/docs/modules/traits/pages/azure-key-vault.adoc b/docs/modules/traits/pages/azure-key-vault.adoc
index 69c73efdc..a6240dcba 100644
--- a/docs/modules/traits/pages/azure-key-vault.adoc
+++ b/docs/modules/traits/pages/azure-key-vault.adoc
@@ -11,6 +11,10 @@ A sample execution of this trait, would require
the following trait options:
-t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"
+To enable the automatic context reload on secrets updates you should define
+the following trait options:
+-t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name" -t azure-key-vault.context-reload-enabled="true" -t azure-key-vault.refresh-enabled="true" -t azure-key-vault.refresh-period="30000" -t azure-key-vault.secrets="test*" -t azure-key-vault.eventhub-connection-string="connection-string" -t azure-key-vault.blob-account-name="account-name" [...]
+
This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**.
diff --git a/resources/traits.yaml b/resources/traits.yaml
index 2cc5214bb..05c383ad8 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -130,7 +130,15 @@ traits:
docs: xref:components::azure-key-vault-component.adoc[Azure Key Vault component]
A sample execution of this trait, would require the following trait options: -t
azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id"
- -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"'
+ -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"
+ To enable the automatic context reload on secrets updates you should define the
+ following trait options: -t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id"
+ -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret"
+ -t azure-key-vault.vault-name="vault-name" -t azure-key-vault.context-reload-enabled="true"
+ -t azure-key-vault.refresh-enabled="true" -t azure-key-vault.refresh-period="30000"
+ -t azure-key-vault.secrets="test*" -t azure-key-vault.eventhub-connection-string="connection-string"
+ -t azure-key-vault.blob-account-name="account-name" -t azure-key-vault.blob-container-name="container-name" -t
+ azure-key-vault.blob-access-key="account-name"'
properties:
- name: enabled
type: bool
[camel-k] 04/07: feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - Regen docs
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 6118ae171ab3dfcfe3887a268e5fd34582d81c5a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:15:51 2023 +0100
feature(#3903): Support secret refresh through the existing addons - Google Secret Manager - Regen docs
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
docs/modules/traits/pages/gcp-secret-manager.adoc | 4 ++++
resources/traits.yaml | 7 ++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/modules/traits/pages/gcp-secret-manager.adoc b/docs/modules/traits/pages/gcp-secret-manager.adoc
index e1be82e64..2b104035c 100644
--- a/docs/modules/traits/pages/gcp-secret-manager.adoc
+++ b/docs/modules/traits/pages/gcp-secret-manager.adoc
@@ -11,6 +11,10 @@ A sample execution of this trait, would require
the following trait options:
-t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id" -t gpc-secret-manager.service-account-key="file:serviceaccount.json"
+To enable the automatic context reload on secrets updates you should define
+the following trait options:
+-t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id" -t gpc-secret-manager.service-account-key="file:serviceaccount.json" -t gcp-secret-manager.subscription-name="pubsub-sub" -t gcp-secret-manager.context-reload-enabled="true" -t gcp-secret-manager.refresh-enabled="true" -t gcp-secret-manager.refresh-period="30000" -t gcp-secret-manager.secrets="test*"
+
This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**.
diff --git a/resources/traits.yaml b/resources/traits.yaml
index ee7ed6513..2cc5214bb 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -480,7 +480,12 @@ traits:
the components docs: xref:components::google-secret-manager-component.adoc[AWS
Secrets Manager component] A sample execution of this trait, would require the
following trait options: -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id"
- -t gpc-secret-manager.service-account-key="file:serviceaccount.json"'
+ -t gpc-secret-manager.service-account-key="file:serviceaccount.json" To enable
+ the automatic context reload on secrets updates you should define the following
+ trait options: -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id"
+ -t gpc-secret-manager.service-account-key="file:serviceaccount.json" -t gcp-secret-manager.subscription-name="pubsub-sub"
+ -t gcp-secret-manager.context-reload-enabled="true" -t gcp-secret-manager.refresh-enabled="true"
+ -t gcp-secret-manager.refresh-period="30000" -t gcp-secret-manager.secrets="test*"'
properties:
- name: enabled
type: bool
[camel-k] 02/07: feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - Regen docs
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 5ac52ea00a6480f2afb8c39f95b050e9c9067919
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:10:29 2023 +0100
feature(#3903): Support secret refresh through the existing addons - AWS Secrets Manager - Regen docs
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
docs/modules/traits/pages/aws-secrets-manager.adoc | 4 ++++
resources/traits.yaml | 7 ++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/docs/modules/traits/pages/aws-secrets-manager.adoc b/docs/modules/traits/pages/aws-secrets-manager.adoc
index f889dd86b..f0fe202dd 100644
--- a/docs/modules/traits/pages/aws-secrets-manager.adoc
+++ b/docs/modules/traits/pages/aws-secrets-manager.adoc
@@ -11,6 +11,10 @@ A sample execution of this trait, would require
the following trait options:
-t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key" -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
+To enable the automatic context reload on secrets updates you should define
+the following trait options:
+-t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key" -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region" -t aws-secrets-manager.context-reload-enabled="true" -t aws-secrets-manager.refresh-enabled="true" -t aws-secrets-manager.refresh-period="30000" -t aws-secrets-manager.secrets="test*"
+
This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**.
diff --git a/resources/traits.yaml b/resources/traits.yaml
index a9b276abc..ee7ed6513 100755
--- a/resources/traits.yaml
+++ b/resources/traits.yaml
@@ -77,7 +77,12 @@ traits:
docs: xref:components::aws-secrets-manager-component.adoc[AWS Secrets Manager
component] A sample execution of this trait, would require the following trait
options: -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key"
- -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"'
+ -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
+ To enable the automatic context reload on secrets updates you should define the
+ following trait options: -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key"
+ -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
+ -t aws-secrets-manager.context-reload-enabled="true" -t aws-secrets-manager.refresh-enabled="true"
+ -t aws-secrets-manager.refresh-period="30000" -t aws-secrets-manager.secrets="test*"'
properties:
- name: enabled
type: bool
[camel-k] 07/07: Regen
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 928bacd61341ddd9f791c50ae491f68673ad2817
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:25:07 2023 +0100
Regen
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
pkg/resources/resources.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index abc26f420..638688261 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: 62425,
+ uncompressedSize: 64160,
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x6b\x73\x1b\x39\x92\xe0\x77\xff\x0a\x84\xf6\x36\x24\xf9\x48\xca\x3d\xb3\x3d\xdb\xab\x3b\xef\x9c\xda\xed\x9e\x51\xb7\x1f\x3a\x4b\xdd\xb3\x13\x3e\xc7\x10\xac\x02\x49\x98\x45\xa0\x06\x40\x51\x66\xdf\xde\x7f\xbf\x40\x66\xe2\x51\xc5\xa2\x48\xda\x52\xdf\xe8\xe6\x11\xd1\x16\xc9\x2a\x20\x91\x48\x64\x26\xf2\xe9\x0c\x97\xce\x9e\x3f\x19\x32\xc5\x97\xe2\x9c\xfd\xd6\x16\xbc\x12\x4f\x18\xab\x2b\xee\xa6\xda\x2c\xcf\xd9\x94\x [...]
+ compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xfd\x77\x1b\x37\x92\xe0\xef\xfe\x2b\xf0\xb8\xb7\x4f\x92\x4f\xa4\x94\xcc\x66\x36\xab\x3b\xef\x9c\xe2\x38\x33\x4a\xfc\xa1\xb3\x94\xcc\xce\xf3\xf9\x0d\xc1\x6e\x90\x84\xd9\x04\x3a\x00\x5a\x32\x73\x73\xff\xfb\x3d\x54\x15\x3e\xba\xd9\x14\x49\x5b\xca\x8e\x76\xb2\xfb\xde\xc4\x92\x1a\x85\x42\xa1\x50\x28\xd4\xa7\x33\x5c\x3a\x7b\xf6\x64\xc8\x14\x5f\x8a\x33\xf6\x3b\x5b\xf0\x4a\x3c\x61\xac\xae\xb8\x9b\x6a\xb3\x3c\x63\x53\x [...]
},
}
fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
[camel-k] 05/07: feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - trait docs update
Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit e517369b273032d98d5fcde3f6b2815908f18275
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 14 07:22:10 2023 +0100
feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - trait docs update
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
addons/vault/azure/azure_key_vault.go | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/addons/vault/azure/azure_key_vault.go b/addons/vault/azure/azure_key_vault.go
index cb383dbc3..87c428383 100644
--- a/addons/vault/azure/azure_key_vault.go
+++ b/addons/vault/azure/azure_key_vault.go
@@ -37,6 +37,10 @@ import (
// the following trait options:
// -t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"
//
+// To enable the automatic context reload on secrets updates you should define
+// the following trait options:
+// -t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name" -t azure-key-vault.context-reload-enabled="true" -t azure-key-vault.refresh-enabled="true" -t azure-key-vault.refresh-period="30000" -t azure-key-vault.secrets="test*" -t azure-key-vault.eventhub-connection-string="connection-string" -t azure-key-vault.blob-account-name="account-nam [...]
+//
// +camel-k:trait=azure-key-vault.
type Trait struct {
traitv1.Trait `property:",squash"`