From 13376c80fad2475b8541896bee754acff6f1ee48 Mon Sep 17 00:00:00 2001 From: Shoaeb Jindani Date: Tue, 7 Nov 2023 21:27:45 +0530 Subject: [PATCH] Reverting Use tags default to true Signed-off-by: Shoaeb Jindani --- api/v1beta1/ibpconsole.go | 4 ++-- definitions/console/deployer-configmap.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api/v1beta1/ibpconsole.go b/api/v1beta1/ibpconsole.go index 2c5ea241..52175b28 100644 --- a/api/v1beta1/ibpconsole.go +++ b/api/v1beta1/ibpconsole.go @@ -36,8 +36,8 @@ func (s *IBPConsole) GetMSPID() string { } func (s *IBPConsole) UseTags() bool { - useTags := true - if s.Spec.UseTags != nil { + useTags := false + if s.Spec.UseTags != nil && *(s.Spec.UseTags) { useTags = *s.Spec.UseTags } return useTags diff --git a/definitions/console/deployer-configmap.yaml b/definitions/console/deployer-configmap.yaml index de920ab1..79fcc118 100644 --- a/definitions/console/deployer-configmap.yaml +++ b/definitions/console/deployer-configmap.yaml @@ -43,6 +43,7 @@ data: password: dev123 imagePullSecret: "" + usetags: false versions: ca: 1.5.3-1: