Enable server-auth mode to alllow different multi-cluster network topologies
Feature request:
Make cert and key optional when caCert is set on the manager TLS config (scheduler + dfdaemon). With only caCert, build credentials in server-auth mode (RootCAs) instead of failing validation.
Today, manager.tls != nil requires all three of caCert/cert/key. There is no way to enable plain server-auth TLS — it's mTLS or plaintext.
Use case:
Hub-and-spoke across separate Kubernetes clusters, manager fronted by an internal LB / gateway with a CA-signed server cert. Org policy mandates encrypted transport even on private networks; mTLS isn't required because the network itself is trusted.
The only options today are:
- Plaintext gRPC over the LB — violates the encryption-in-transit rule.
- Full mTLS — issuing, distributing and rotating per-spoke client certs across N clusters for a trust property the network already provides.
Server-auth-only would let operators satisfy the encryption requirement with a single CA cert mounted on the spokes, no per-spoke PKI.
Source: dragonflyoss/dragonfly