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:25:42 UTC
[camel-k] 05/07: feature(#3903): Support secret refresh through the existing addons - Azure Key Vault - trait docs update
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch secret-refresh-trait-docs
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit fa6d61239c6fc1781bde0101bb2735c97f3e314b
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"`