Skip to content

Commit

Permalink
feat(examples): add an example for CreateBucket task for s3-compatibl…
Browse files Browse the repository at this point in the history
…e storage
  • Loading branch information
shrutimantri committed Aug 16, 2024
1 parent 961d637 commit f57aa48
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/io/kestra/plugin/minio/CreateBucket.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@
"region: \"eu-central-1\"",
"bucket: \"my-bucket\""
}
),
@Example(
title = "Create a new bucket on s3-compatible storage like Digital Ocean cloud's Spaces Object Storage.",
full = true,
code = """
id: s3_compatible_storage_flow
namespace: company.team
tasks:
- id: "create_bucket"
type: "io.kestra.plugin.minio.CreateBucket"
accessKeyId: "<access_key>"
secretKeyId: "<secret_key>"
endpoint: https://<region>.digitaloceanspaces.com #example region: nyc3, tor1
bucket: "kestra-test-bucket"
"""
)
}
)
Expand Down

0 comments on commit f57aa48

Please sign in to comment.