Skip to content

Commit

Permalink
feat(install_backend_app.ts): append namespace to bucketPrefix for be…
Browse files Browse the repository at this point in the history
…tter bucket organization

The bucketPrefix now includes the namespace, which is concatenated with
a hyphen. This change improves the organization of the buckets by making
it clear which namespace they belong to, thus making it easier to manage
resources.
  • Loading branch information
cybersiddhu committed Apr 15, 2024
1 parent 0bb0e75 commit 47c2e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deploy/install_backend_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ new ArangodbBackendDeployment(app, deploymentName, {
remote: argv.r,
credentials: argv.c,
bucketName: argv.bn,
bucketPrefix: deploymentName,
bucketPrefix: deploymentName.concat("-").concat(argv.ns),
},
resource: {
service,
Expand All @@ -105,7 +105,7 @@ new BackendService(app, service, {
remote: argv.r,
credentials: argv.c,
bucketName: argv.bn,
bucketPrefix: service,
bucketPrefix: service.concat("-").concat(argv.ns),
},
resource: {
namespace: argv.ns,
Expand Down

0 comments on commit 47c2e55

Please sign in to comment.