From 1fbf12d26be82ac20b1cce2da28dcff8cc77e8b3 Mon Sep 17 00:00:00 2001 From: shoaebjindani <40020259+shoaebjindani@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:23:37 +0530 Subject: [PATCH] Making Use tags default to true (#150) https://github.com/hyperledger-labs/fabric-operator/issues/148 --- 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: