My application has array environment variables in the form tableName[0]=tableName ... property.one.two.tableName[x]=tableNameX
When running locally, everything works fine when I put the properties in application.properties
, command-line args, or environment variables. However, once I try and deploy to marathon, the array variables no longer work. I am trying to pass them in the env
property in the marathon json array. I've tried:
"env": {
"property.one.two.tableName[0]":"tableName",
....
}
and
"env": {
"property.one.two.tableName": ["tableName", ... ]
...
}
and
"env" {
"tableName": [
{"property.one.two.tableName[0]" : "tableName"}
{....}
]
}
But nothing has worked. Has anyone gotten this to work?