Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Storage Blob Kamelets should specify which kind of credentials to use #1062

Merged
merged 4 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions kamelets/azure-storage-blob-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ 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"
Expand Down Expand Up @@ -93,3 +98,4 @@ spec:
parameters:
accessKey: "{{accessKey}}"
operation: "{{operation}}"
credentialType: "{{credentialType}}"
6 changes: 6 additions & 0 deletions kamelets/azure-storage-blob-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ 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"
Expand All @@ -79,6 +84,7 @@ spec:
parameters:
operation: "listBlobs"
accessKey: "{{accessKey}}"
credentialType: "{{credentialType}}"
- split:
jsonpath: "$.*"
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ 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"
Expand Down Expand Up @@ -93,3 +98,4 @@ spec:
parameters:
accessKey: "{{accessKey}}"
operation: "{{operation}}"
credentialType: "{{credentialType}}"
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ 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"
Expand All @@ -79,6 +84,7 @@ spec:
parameters:
operation: "listBlobs"
accessKey: "{{accessKey}}"
credentialType: "{{credentialType}}"
- split:
jsonpath: "$.*"
steps:
Expand Down