@@ -128,7 +128,7 @@ func (r Strategy1) AddCluster(clientset *kubernetes.Clientset, client *rest.REST
128128 return err
129129 }
130130 deploymentDocString := primaryDoc .String ()
131- log .Info (deploymentDocString )
131+ log .Debug (deploymentDocString )
132132
133133 deployment := v1beta1.Deployment {}
134134 err = json .Unmarshal (primaryDoc .Bytes (), & deployment )
@@ -493,7 +493,7 @@ func (r Strategy1) CreateReplica(serviceName string, clientset *kubernetes.Clien
493493 return err
494494 }
495495 replicaDeploymentDocString := replicaDoc .String ()
496- log .Info (replicaDeploymentDocString )
496+ log .Debug (replicaDeploymentDocString )
497497
498498 replicaDeployment := v1beta1.Deployment {}
499499 err = json .Unmarshal (replicaDoc .Bytes (), & replicaDeployment )
@@ -533,7 +533,7 @@ func getPrimaryLabels(Name string, ClusterName string, cloneFlag bool, replicaFl
533533
534534// GetAffinity ...
535535func GetAffinity (nodeName string , operator string ) string {
536- log .Infof ("GetAffinity with nodeName=[%s] and operator=[%s]\n " , nodeName , operator )
536+ log .Debugf ("GetAffinity with nodeName=[%s] and operator=[%s]\n " , nodeName , operator )
537537 output := ""
538538 if nodeName == "" {
539539 return output
@@ -551,15 +551,15 @@ func GetAffinity(nodeName string, operator string) string {
551551 }
552552
553553 affinityDocString := affinityDoc .String ()
554- log .Info (affinityDocString )
554+ log .Debug (affinityDocString )
555555
556556 return affinityDocString
557557}
558558
559559func GetCollectAddon (spec * crv1.PgclusterSpec ) string {
560560
561561 if spec .UserLabels ["crunchy-collect" ] == "true" {
562- log .Info ("crunchy-collect was found as a label on cluster create" )
562+ log .Debug ("crunchy-collect was found as a label on cluster create" )
563563 collectTemplateFields := collectTemplateFields {}
564564 collectTemplateFields .Name = spec .Name
565565 collectTemplateFields .CCPImageTag = spec .CCPImageTag
@@ -572,7 +572,7 @@ func GetCollectAddon(spec *crv1.PgclusterSpec) string {
572572 return ""
573573 }
574574 collectString := collectDoc .String ()
575- log .Info (collectString )
575+ log .Debug (collectString )
576576 return collectString
577577 }
578578 return ""
0 commit comments