Skip to content

Commit 92e683f

Browse files
Leopold-Cramerjreynard-code
authored andcommitted
Add S3 configuration properties
1 parent adb3f26 commit 92e683f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ data class CsmPlatformProperties(
2424
/** Container Registry */
2525
val containerRegistry: CsmPlatformContainerRegistry = CsmPlatformContainerRegistry(),
2626

27-
/** Blob Persistence */
28-
val blobPersistence: BlobPersistence,
27+
/** S3 service */
28+
val s3: S3,
2929

3030
/** Argo Service */
3131
val argo: Argo,
@@ -209,9 +209,15 @@ data class CsmPlatformProperties(
209209
val imageVersion: String = "latest",
210210
)
211211

212-
data class BlobPersistence(
213-
/** Persistence blob storage path */
214-
val path: String
212+
data class S3(
213+
/** Endpoint URL */
214+
val endpointUrl: String = "http://localhost:9000",
215+
/** Bucket name */
216+
val bucketName: String = "cosmotech-api",
217+
/** Credentials: access key id */
218+
val accessKeyId: String = "",
219+
/** Credentials: secret access key */
220+
val secretAccessKey: String = ""
215221
)
216222

217223
data class Argo(

0 commit comments

Comments
 (0)