common/helpers: remove nonexistent fields from TLS validation

This commit is contained in:
Vincent Bernat
2025-05-01 14:50:47 +02:00
parent 113df1995f
commit edf37390d4

View File

@@ -14,7 +14,7 @@ import (
// TLSConfiguration defines TLS configuration.
type TLSConfiguration struct {
// Enable says if TLS should be used to connect to brokers
Enable bool `validate:"required_with=CAFile CertFile KeyFile Username Password SASLAlgorithm"`
Enable bool `validate:"required_with=CAFile CertFile KeyFile"`
// Verify says if we need to check remote certificates
Verify bool
// CAFile tells the location of the CA certificate to check broker