cloud-foundry - 带有 git 和 vault 的 PCF:必须在 'vault.port' 中定义 Vault 端口,而不是使用 : 语法
问题描述
在我的云配置 PCF 服务中。Git 部分很好,Vault 导致问题:- { "composite": [{"git": { "password": "****", "label": "develop", "uri": "https:// /*****/config-server-files", "username": "*****" }, "vault":{ "port":"8200", "scheme": "https", "host ": ":*****" }}] }
解决方案
I found the solution: The correct config for using multiple backends(Git + Vault) on config server is ** **
{
"count": 1,
"composite": [
{
"vault": {
"host": "***",
"port": 8200,
"scheme": "https",
"backend": "cf/***/secret",
"defaultKey": "****",
"profileSeparator": ",",
"skipSslValidation": true
}
},
{
"git": {
"password": "****",
"uri": "****/config-server-files",
"username": "****",
"basedir": "/home/vcap/app/config-repo/composite-1-default",
"ignoreLocalSshSettings": true,
"label": "develop"
}
}
]
}
** **
推荐阅读
- c# - 检测 DateTimePicker 中的时间变化
- flutter - 如何将数据从一个类传递到另一个类?
- reactjs - 在 NavigationOptions 中调用 setstate 反应原生
- docker - 为什么插值键“asctime”不是有效的选项名称?
- asp.net-mvc - ckfinder 浏览服务器在 https 上不起作用
- angular - 从Angular中的分离组件转移价值
- c++ - Winsock2:select() 函数给出“无效的争论错误”(错误 10022)?
- npm - 由于权限错误,无法使用 npm 安装 appium
- node.js - 通过存储客户端将文件发送到存储桶中的文件夹
- angular - 如何使管道始终工作,而不是检查更改?