Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 6472295

Browse files
starpitk8s-ci-robot
authored andcommitted
feat(plugins/plugin-s3): minioConfig of plugin-s3 does not properly export subdirs
part of #7753
1 parent 92c17b4 commit 6472295

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

plugins/plugin-s3/src/providers/MinioConfig.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ interface MinioConfig {
2323
accessKey: string
2424
secretKey: string
2525
api: string
26+
subdir: string
2627
path: 'auto' | 'dns'
2728
}
2829
>

plugins/plugin-s3/src/vfs/responders.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export async function minioConfig(direct = false): Promise<MinioConfig> {
104104
url: /^http/.test(endPoint) ? endPoint : `https://${endPoint}`,
105105
accessKey: _.accessKey,
106106
secretKey: _.secretKey,
107+
subdir: _.subdir || '',
107108
api: 's3v4',
108109
path: 'auto'
109110
}

0 commit comments

Comments
 (0)