mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
feat: 添加OBS存储
This commit is contained in:
committed by
Jiangjie.Bai
parent
a39f2294bc
commit
d2cd0a2242
@@ -41,6 +41,10 @@ export default {
|
||||
{
|
||||
name: 'Azure',
|
||||
title: 'Azure'
|
||||
},
|
||||
{
|
||||
name: 'obs',
|
||||
title: 'OBS'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ export const CEPH = 'ceph'
|
||||
export const SWIFT = 'swift'
|
||||
export const OSS = 'oss'
|
||||
export const AZURE = 'azure'
|
||||
export const OBS = 'obs'
|
||||
|
||||
export const STORAGE_TYPE_META_MAP = {
|
||||
[S3]: {
|
||||
@@ -33,5 +34,10 @@ export const STORAGE_TYPE_META_MAP = {
|
||||
name: AZURE,
|
||||
title: 'Azure',
|
||||
meta: ['CONTAINER_NAME', 'ACCOUNT_NAME', 'ACCOUNT_KEY', 'ENDPOINT_SUFFIX']
|
||||
},
|
||||
[OBS]: {
|
||||
name: OBS,
|
||||
title: 'OBS',
|
||||
meta: ['BUCKET', 'ACCESS_KEY', 'SECRET_KEY', 'ENDPOINT']
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user