From e6d67d2d07a252cb5cb8c8ff0207068736bc48af Mon Sep 17 00:00:00 2001 From: Shoaeb Jindani Date: Wed, 1 Nov 2023 20:11:15 +0530 Subject: [PATCH] Making Use tags default to true Signed-off-by: Shoaeb Jindani --- api/v1beta1/ibpconsole.go | 4 ++-- definitions/console/deployer-configmap.yaml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/v1beta1/ibpconsole.go b/api/v1beta1/ibpconsole.go index 52175b28..2c5ea241 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 := false - if s.Spec.UseTags != nil && *(s.Spec.UseTags) { + useTags := true + if s.Spec.UseTags != nil { useTags = *s.Spec.UseTags } return useTags diff --git a/definitions/console/deployer-configmap.yaml b/definitions/console/deployer-configmap.yaml index 79fcc118..de920ab1 100644 --- a/definitions/console/deployer-configmap.yaml +++ b/definitions/console/deployer-configmap.yaml @@ -43,7 +43,6 @@ data: password: dev123 imagePullSecret: "" - usetags: false versions: ca: 1.5.3-1: