Version: 预览版
Azure DATABASE-MARIADB
#
描述用于部署 Azure mariadb 数据库的组件说明
#
示例#
参数说明#
属性名称 | 描述 | 类型 | 是否必须 | 默认值 |
---|---|---|---|---|
db_name | Database instance name | string | false | |
location | Azure location | string | false | |
password | Database instance password | string | false | |
resource_group | Resource group | string | false | |
server_name | mariadb server name | string | false | |
username | Database instance username | string | false | |
writeConnectionSecretToRef | The secret which the cloud resource connection will be written to | writeConnectionSecretToRef | false |
#
writeConnectionSecretToRef名称 | 描述 | 类型 | 是否必须 | 默认值 |
---|---|---|---|---|
name | The secret name which the cloud resource connection will be written to | string | true | |
namespace | The secret namespace which the cloud resource connection will be written to | string | false |
#
输出如果设置了 writeConnectionSecretToRef
,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):
名称 | 描述 |
---|---|
DB_HOST | Database instance host |
DB_NAME | Database instance name |
DB_PASSWORD | Database instance password |
DB_PORT | Database instance port |
DB_USER | Database instance username |
SERVER_NAME | mariadb server name |