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
fix: extra labels propagation based on k8s label regex matching (#5216)
* extra labels propagation based on k8s label regex matching
* sanitizing extra labels for spaces
* logger added
* label regex link added
* comment fix
Copy file name to clipboardExpand all lines: pkg/app/helper.go
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@
16
16
17
17
package app
18
18
19
+
import"strings"
20
+
21
+
// LabelMatchingRegex is the official k8s label matching regex, pls refer https://github.com/kubernetes/apimachinery/blob/bfd2aff97e594f6aad77acbe2cbbe190acc93cbc/pkg/util/validation/validation.go#L167
0 commit comments