From 7247d139714c30f7a7a7983023f734c57bd45061 Mon Sep 17 00:00:00 2001 From: Aiwantaozi Date: Mon, 28 Jan 2019 19:19:24 +0800 Subject: [PATCH] Add target type and cert for custom target config Problem: user may need cert when input custom config Solution: add cert for custom config Issue: https://github.com/rancher/rancher/issues/176965 --- apis/management.cattle.io/v3/logging_types.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/logging_types.go b/apis/management.cattle.io/v3/logging_types.go index ffea48e1..00975c34 100644 --- a/apis/management.cattle.io/v3/logging_types.go +++ b/apis/management.cattle.io/v3/logging_types.go @@ -166,7 +166,10 @@ type FluentServer struct { } type CustomTargetConfig struct { - Content string `json:"content,omitempty"` + Content string `json:"content,omitempty"` + Certificate string `json:"certificate,omitempty"` + ClientCert string `json:"clientCert,omitempty"` + ClientKey string `json:"clientKey,omitempty"` } type LoggingSystemImages struct {