Version of Octopus Server: 2019.6.5
If you can provide more details on the values you are using in each part I can run further tests on those
My structure of appsettings.json is:
{
“Authentication”: {
“BusinessUsers”: null,
“MonitoringUsers”: null,
},
}
I want that Octopus changes parameters BusinessUsers and MonitoringUsers:
{
“Authentication”: {
“BusinessUsers”: [ “*” ],
“MonitoringUsers”: [ “*” ],
},
}
I set Authentication:BusinessUsers and Authentication:MonitoringUsers to [ “*” ]. But got:
{
“Authentication”: {
“BusinessUsers”: “\[ \"*\” \]“,
“MonitoringUsers”: “\[ \"*\” \]”,
},
}
I’ve found workaround. In appsettings.json I set not null but array with empty value
{
“Authentication”: {
“BusinessUsers”: [ “” ],
“MonitoringUsers”: [ “” ],
},
}
And set parameters
Authentication:BusinessUsers:0 = *
Authentication:MonitoringUsers:0 = *
Then I get what I want
{
“Authentication”: {
“BusinessUsers”: [ “*” ],
“MonitoringUsers”: [ “*” ],
},
}
It just workaround. But it’s wanted to have clear solution.
Paul, tell me please what data should I provide to you in order to find the truth?