You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Elastic Agent]-PR- Introduce log message for not supported annotations for Hints based autodiscover (#4360)
* first commit with checks for hints vocabulary
* updating to elastic-agent-autodiscovery v.0.6.13
* adding test TestGenerateHints
* adding test TestGenerateHints
* adding function to override sonarcube
---------
Co-authored-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
Co-authored-by: Denis <denis.rechkunov@elastic.co>
for_, value:=rangeincorrecthints { //We check whether the provided annotation follows the supported format and vocabulary. The check happens for annotations that have prefix co.elastic
532
+
logger.Warnf("provided hint: %s/%s is not recognised as supported annotation for pod %s in namespace %s", prefix, value, pod.Name, pod.ObjectMeta.Namespace)
0 commit comments