From 8179259c25dadffdcf2abb2c9787a377ed26c79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kara=C5=9B?= Date: Mon, 17 Mar 2025 16:32:06 +0100 Subject: [PATCH] CLOUDP-303012 Allow to configure logPath and logRotate through automation config --- pkg/automationconfig/automation_config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/automationconfig/automation_config.go b/pkg/automationconfig/automation_config.go index 855985108..6fa54cabb 100644 --- a/pkg/automationconfig/automation_config.go +++ b/pkg/automationconfig/automation_config.go @@ -82,6 +82,8 @@ type MonitoringVersion struct { Name string `json:"name"` BaseUrl string `json:"baseUrl"` AdditionalParams map[string]string `json:"additionalParams,omitempty"` + LogPath string `json:"logPath"` + LogRotate AcLogRotate `json:"logRotate"` } // CrdLogRotate is the crd definition of LogRotate including fields in strings while the agent supports them as float64