fix (helm): minio edp var for storage
This commit is contained in:
parent
2c6c8b5ed4
commit
8b18023331
2 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue