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