sds/response: change log level to warn
Changes the log level to warn for the message logged when SDS
receives a certificate request for a service not associated with
the given proxy. This does not result in a control plane error,
so a warn log seems appropriate.
@@ -114,7 +114,7 @@ func (s *sdsImpl) getSDSSecrets(cert certificate.Certificater, requestedCerts []
}
if proxyService != sdsCert.MeshService {
- log.Debug().Msgf("Proxy %s (service %s) requested service certificate %s; this is not allowed", s.proxy.GetCommonName(), proxyService, sdsCert.MeshService)
+ log.Warn().Msgf("Proxy %s (service %s) requested service certificate %s; this is not allowed", s.proxy.GetCommonName(), proxyService, sdsCert.MeshService)
continue
}
