1
0
mirror of https://github.com/rancher/types.git synced 2025-09-19 00:46:53 +00:00

Add use tls config for syslog logging target

Problem:
can't identify whether the target use tls or not

Solution:
add enable tls field
This commit is contained in:
Aiwantaozi
2019-02-02 17:38:58 +08:00
committed by Craig Jellick
parent 7746d46d67
commit d74629c9e2

View File

@@ -141,6 +141,7 @@ type SyslogConfig struct {
Program string `json:"program,omitempty"`
Protocol string `json:"protocol,omitempty" norman:"default=udp,type=enum,options=udp|tcp"`
Token string `json:"token,omitempty" norman:"type=password"`
EnableTLS bool `json:"enableTls,omitempty" norman:"default=false"`
Certificate string `json:"certificate,omitempty"`
ClientCert string `json:"clientCert,omitempty"`
ClientKey string `json:"clientKey,omitempty"`