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 <[email protected]>
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 <[email protected]>
---
 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

Reply via email to