From fea7547941fdeca30110701dbea2ae12617d1b69 Mon Sep 17 00:00:00 2001 From: Arbaaz Khan Date: Tue, 7 May 2024 15:29:42 +0530 Subject: [PATCH] Fix logging and CRD (#3411) --- .../incubator/customresourcedefinitions.yml | 11 +++++++++++ pkg/controller/postManager.go | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/config_examples/customResourceDefinitions/incubator/customresourcedefinitions.yml b/docs/config_examples/customResourceDefinitions/incubator/customresourcedefinitions.yml index 991bb0d87..75552995a 100644 --- a/docs/config_examples/customResourceDefinitions/incubator/customresourcedefinitions.yml +++ b/docs/config_examples/customResourceDefinitions/incubator/customresourcedefinitions.yml @@ -667,6 +667,10 @@ spec: status: type: string default: Pending + lastUpdated: + type: string + error: + type: string additionalPrinterColumns: - name: virtualServerAddress type: string @@ -883,6 +887,13 @@ spec: properties: vsAddress: type: string + status: + type: string + default: pending + lastUpdated: + type: string + error: + type: string additionalPrinterColumns: - name: IPAMVSAddress type: string diff --git a/pkg/controller/postManager.go b/pkg/controller/postManager.go index bdaffb3f2..d2aa9344b 100644 --- a/pkg/controller/postManager.go +++ b/pkg/controller/postManager.go @@ -866,7 +866,7 @@ func (postMgr *PostManager) logAS3Response(responseMap map[string]interface{}) { } responseMap["declaration"] = as3Declaration(decl) } - log.Errorf("[AS3]%v Raw response from Big-IP: %v ", postMgr.postManagerPrefix, responseMap) + log.Debugf("[AS3]%v Raw response from Big-IP: %v ", postMgr.postManagerPrefix, responseMap) } func (postMgr *PostManager) logAS3Request(cfg string) {