我正在尝试使用avast marathon-vault插件在marathon应用程序中将Vault机密设置为环境变量。我能够在马拉松UI中看到该值,但无法在docker容器的外壳中看到它。可以请人帮我吗?
我正在使用马拉松1.5.5版和avast-marathon-vault-plugin 这是我的plugin-conf.json:
"marathon-vault-plugin": {
"plugin": "mesosphere.marathon.plugin.task.RunSpecTaskProcessor","implementation": "com.avast.marathon.plugin.vault.VaultPlugin","configuration": {
"address": "https://vaulthostname:8200","token": "rootToken","sharedPathRoot": "/secret/data/","privatePathRoot": "/secret/private/","ssl": {
"verify": true,"keyStoreFile": "/path/to/truststore","keyStorePassword": "password","pemFile": "/path/to/pem/file"
}
}
}