无法使用Avast Marathon-Vault插件设置Marathon Env变量

时间:2019-12-14 14:53:36

标签: marathon hashicorp-vault

我正在尝试使用av​​ast 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"
                            }
                    }
            }

0 个答案:

没有答案