infrastructure-agent icon indicating copy to clipboard operation
infrastructure-agent copied to clipboard

Replacer regex will not match K8s labels.

Open ericmittelhammer opened this issue 3 years ago • 0 comments

https://github.com/newrelic/infrastructure-agent/blob/1ad558d39bfcfac69027ae74f3918b5b2a2f3b0a/pkg/databind/pkg/databind/replacer.go#L26

Labels applied by the control plane follow a convention of prefix/label. The regex here fails to match because of the slash.

ericmittelhammer avatar Apr 07 '21 18:04 ericmittelhammer