nsc
nsc copied to clipboard
“nsc generate config --nats-resolver” will output extra commas in resolver_preload
What version were you using?
2.8.6
What environment was the server running in?
k8s
Is this defect reproducible?
yes, just copy direct output of "nsc generate config --nats-resolver"
Given the capability you are leveraging, describe your expectation?
the output of command "nsc generate config --nats-resolver" will be something like below, there's a commas at the end of the account jwt. if someone copies this and use it in config file, will fail to start server. The correct value has no commas. "
Later changes to the system account take precedence over the system account jwt listed here.
resolver_preload: { AD46U: eyJ0***JnCQ, } "
Given the expectation, what is the defect you are observing?
server fails to start since the incorrect commas