Skip to main content
版本:v1.3

阿里云 RDS-PREVIEW

描述​

Alibaba RDS in a preview mode

参数说明​

属性​

名称描述类型是否必须默认值
account_nameRDS instance user account namestringfalse
allocate_public_connectionWhether to allocate public connection for a RDS instance.boolfalse
database_nameDatabase namestringfalse
instance_nameRDS instance namestringfalse
passwordRDS instance account passwordstringtrue
privilegeThe privilege of one account access database.stringfalse
security_ipsList of IP addresses allowed to access all databases of an instancelist(any)false
sql_bucket_endpointThe endpoint of the bucket. like oss-cn-hangzhou.aliyuncs.comstringfalse
sql_bucket_nameThe bucket name of the SQL file. like oss://examplestringfalse
sql_fileThe name of SQL file in the bucket, like db.sqlstringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef​

名称描述类型是否必须默认值
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse

输出​

如果设置了 writeConnectionSecretToRef,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):

名称描述
DATABASE_NAMERDS Database Name
DB_HOSTRDS Instance Host
DB_IDRDS Instance ID
DB_NAMERDS Instance Name
DB_PASSWORDRDS Instance Password
DB_PORTRDS Instance Port
DB_PUBLIC_HOSTRDS Instance Public Host
DB_USERRDS Instance User
RESOURCE_IDENTIFIERThe identifier of the resource