From e203e1e4bfd12f304085daa5557112a44ecd5d0d 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 --- 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)))