From d74629c9e2541205a2fc65489cd51d83f09b7a6b Mon Sep 17 00:00:00 2001 From: Aiwantaozi Date: Sat, 2 Feb 2019 17:38:58 +0800 Subject: [PATCH] Add use tls config for syslog logging target Problem: can't identify whether the target use tls or not Solution: add enable tls field --- apis/management.cattle.io/v3/logging_types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/management.cattle.io/v3/logging_types.go b/apis/management.cattle.io/v3/logging_types.go index 4ff8bca6..ffea48e1 100644 --- a/apis/management.cattle.io/v3/logging_types.go +++ b/apis/management.cattle.io/v3/logging_types.go @@ -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"`