Closed maxio89 closed 5 years ago
Make sure your plugin configuration file is valid JSON. Note that the example from README.md
contains a comment in the JSON (on the line saying "verify": "false"
), which you need to get rid of:
{
"plugins": {
"marathon-vault-plugin": {
"plugin": "mesosphere.marathon.plugin.task.RunSpecTaskProcessor",
"implementation": "com.avast.marathon.plugin.vault.VaultPlugin",
"configuration": {
"address": "http://address_to_your_vault_instance:port",
"token": "access_token",
"sharedPathRoot": "secret/shared/",
"privatePathRoot": "secret/private/",
"ssl": {
"verify": "false", // don't use in production
"trustStoreFile": "/path/to/truststore/file",
"keyStoreFile": "/path/to/keystore/file",
"keyStorePassword": "keystore_passw0rd",
"pemFile": "/path/to/pem/file",
"pemUTF8": "string contents extracted from the PEM file",
"clientPemFile": "/path/to/client/pem/file",
"clientKeyPemFile": "/path/to/client/pem/file"
}
}
}
}
}
You right, thanks, but this error with: InvalidActorNameException: actor name [instanceTracker] is not unique!
was confusing.
I tried run this plugin with Marathon 1.6 and 1.7, but with no luck. Any idea?