Open caleblloyd opened 1 year ago
Any updates on this? We are currently running into trouble configuring the remotes for the leafnodes when it comes to the cluster credentials. Having dedicated keys would greatly help, e.g. mounting the credentials file from a secret is (AFAIK) currently not possible.
Alternatively this could be solved using generic extraVolume/extraVolumeMounts pattern. If you feel this is something that could be done, I can create a dedicated ticket and potentially provide input
I had to hard code the ca_file path for our leafnodes for each of the remotes that offer certs signed by our private CA.
tls:
ca_file: /etc/nats-ca-cert/ca.crt
I would love the remotes to be able to inherit the settings from tlsCA like all the other sections.
Adding my support for this. I raised an issue that was seemingly a duplicate before finding this.
gateway.gateways
andleafnodes.remotes
are both lists that support atls
blockAlso, a server might not need to be listening on the
leafnodes
port in order to have aleafnodes.remote
block. The same may be true of a gateway. If this is the case, these should probably be keys underconfig
such asconfig.leafnodeRemotes
andconfig.gatewayRemotes
so that the Leafnodes/Gateways Servers can be managed separately from Clients