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/22 13:25:37 UTC

[camel-kamelets] 02/02: Azure Storage Blob Kamelets: Use just the SHARED_ACCOUNT_KEY credentials as default

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 0.9.x-1400
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9095fafb1fec5b9046efd6faf634f15d3783989d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 22 14:25:19 2023 +0100

    Azure Storage Blob Kamelets: Use just the SHARED_ACCOUNT_KEY credentials as default
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/azure-storage-blob-changefeed-source.kamelet.yaml     | 7 +------
 .../main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml   | 7 +------
 .../main/resources/kamelets/azure-storage-blob-source.kamelet.yaml | 7 +------
 3 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
index 2533b76f..e7cee78f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
@@ -57,11 +57,6 @@ spec:
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
-      credentialType:
-        title: Credential Type
-        description: Determines the credential strategy to adopt. Possible values are SHARED_ACCOUNT_KEY, SHARED_KEY_CREDENTIAL and AZURE_IDENTITY
-        type: string
-        default: SHARED_ACCOUNT_KEY
   dependencies:
     - "camel:azure-storage-blob"
     - "camel:kamelet"
@@ -79,5 +74,5 @@ spec:
           parameters:
             operation: "getChangeFeed"
             accessKey: "{{accessKey}}"
-            credentialType: "{{credentialType}}"
+            credentialType: "SHARED_ACCOUNT_KEY"
       - to: "kamelet:sink"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
index bd63a7be..a6e5a62d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
@@ -63,11 +63,6 @@ spec:
         description: The operation to perform.
         type: string
         default: uploadBlockBlob
-      credentialType:
-        title: Credential Type
-        description: Determines the credential strategy to adopt. Possible values are SHARED_ACCOUNT_KEY, SHARED_KEY_CREDENTIAL and AZURE_IDENTITY
-        type: string
-        default: SHARED_ACCOUNT_KEY
   dependencies:
     - "camel:core"
     - "camel:azure-storage-blob"
@@ -98,4 +93,4 @@ spec:
           parameters:
             accessKey: "{{accessKey}}"
             operation: "{{operation}}"
-            credentialType: "{{credentialType}}"
+            credentialType: "SHARED_ACCOUNT_KEY"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
index 25ef3408..5e79def1 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -56,11 +56,6 @@ spec:
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
-      credentialType:
-        title: Credential Type
-        description: Determines the credential strategy to adopt. Possible values are SHARED_ACCOUNT_KEY, SHARED_KEY_CREDENTIAL and AZURE_IDENTITY
-        type: string
-        default: SHARED_ACCOUNT_KEY
       delay:
         title: Delay
         description: The number of milliseconds before the next poll of the selected blob.
@@ -98,5 +93,5 @@ spec:
                       parameters:
                         operation: "deleteBlob"
                         accessKey: "{{accessKey}}"
-                        credentialType: "{{credentialType}}"
+                        credentialType: "SHARED_ACCOUNT_KEY"