From 6ee50a1910011481335dbdc5b47cada8c6946341 Mon Sep 17 00:00:00 2001 From: Max McAdam Date: Fri, 22 Sep 2023 10:42:53 -0700 Subject: [PATCH] Issue 3905 - Bug: Service not receiving secret update for user node level secrets Signed-off-by: Max McAdam --- agreementbot/governance.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agreementbot/governance.go b/agreementbot/governance.go index 5a4028d34..565fe916c 100644 --- a/agreementbot/governance.go +++ b/agreementbot/governance.go @@ -196,6 +196,7 @@ func (w *AgreementBotWorker) GovernAgreements() int { for _, bs := range binding.Secrets { serviceSecretName, smSecretName := bs.GetBinding() + smSecretName = strings.TrimPrefix(smSecretName, "/") for _, updatedSecretName := range updatedSecrets { if glog.V(5) { glog.Infof(logString(fmt.Sprintf("checking secret %v against %v", updatedSecretName, bs)))