fix (helm): minio edp var for storage

This commit is contained in:
ShiKhu 2021-05-13 14:21:03 +02:00
parent 2c6c8b5ed4
commit 8b18023331
2 changed files with 4 additions and 3 deletions

View file

@ -23,7 +23,7 @@ func main() {
storageWeb := storage.NewS3(env.String("AWS_REGION_WEB"), env.String("S3_BUCKET_WEB"))
storageIos := storage.NewS3(env.String("AWS_REGION_IOS"), env.String("S3_BUCKET_IOS"))
//storageIos := storage.NewS3(env.String("AWS_REGION_IOS"), env.String("S3_BUCKET_IOS"))
FS_DIR := env.String("FS_DIR") + "/"
var uploadKey func(string, int, *storage.S3)
@ -54,8 +54,8 @@ func main() {
switch msg.(type) {
case *messages.SessionEnd:
uploadKey(strconv.FormatUint(sessionID, 10), 5, storageWeb)
case *messages.IOSSessionEnd:
uploadKey(strconv.FormatUint(sessionID, 10), 5, storageIos)
//case *messages.IOSSessionEnd:
// uploadKey(strconv.FormatUint(sessionID, 10), 5, storageIos)
}
},
)

View file

@ -31,6 +31,7 @@ pvc:
storageSize: 5Gi
env:
AWS_ENDPOINT: http://minio.db.svc.cluster.local:9000
AWS_ACCESS_KEY_ID: "minios3AccessKeyS3cr3t"
AWS_SECRET_ACCESS_KEY: "m1n10s3CretK3yPassw0rd"
AWS_REGION_WEB: eu-central-1