From 871ac8287ff80fd5c5d2b525dc3fa654dd74c395 Mon Sep 17 00:00:00 2001 From: Sylvain Joubert Date: Wed, 3 Jul 2024 11:45:30 +0200 Subject: [PATCH] Add persistence path config instead of S3 --- .../api/config/CsmPlatformProperties.kt | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt b/src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt index ab0798cd..b0a0f409 100644 --- a/src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt +++ b/src/main/kotlin/com/cosmotech/api/config/CsmPlatformProperties.kt @@ -40,8 +40,8 @@ data class CsmPlatformProperties( /** Container Registry */ val containerRegistry: CsmPlatformContainerRegistries = CsmPlatformContainerRegistries(), - /** S3 service */ - val s3: S3, + /** Blob Persistence */ + val blobPersistence: BlobPersistence, /** Argo Service */ val argo: Argo, @@ -221,15 +221,9 @@ data class CsmPlatformProperties( val imageVersion: String = "latest", ) - data class S3( - /** Endpoint URL */ - val endpointUrl: String = "http://localhost:9000", - /** Bucket name */ - val bucketName: String = "cosmotech-api", - /** Credentials: access key id */ - val accessKeyId: String = "", - /** Credentials: secret access key */ - val secretAccessKey: String = "" + data class BlobPersistence( + /** Persistence blob storage path */ + val path: String ) data class Loki(