租户端 计算 容器服务 ConfigMap接口 添加或修改ConfigMap的配置项

添加或修改ConfigMap的配置项

最近更新时间: 2019-11-02 13:02:23

POST /v2/configmaps/{projectName}/{configMapName}/{keyName} 请求Body

{
"data":"Kitty"
}

返回

{
"name": "special-config",
"projectName": "demo",
"created_at": "2016-12-08T15:34:45.276506116+08:00",
"userName": "admin",
"configNum": 2,
"data": {
"game-config": "\nSPECIAL_LEVEL_KEY=very\nSPECIAL_TYPE_KEY=charm\nlog_level=INFO",
"HELLO": "Kitty"
  },
"appMapNum": {
"game-config":2,
"HELLO": 1
  }
}