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
add support for adding annotations to kubernetes transform (#1115)
* add support for adding annotations to kubernetes transform
Signed-off-by: Alex Price <[email protected]>
* add support for label and annotation inclusion and exclusion lists
Signed-off-by: Alex Price <[email protected]>
* add support for label and annotation value max lengths
Signed-off-by: Alex Price <[email protected]>
* add pod, service, node annotations to object meta in informer
Signed-off-by: Alex Price <[email protected]>
* Apply suggestion from @jotak
---------
Signed-off-by: Alex Price <[email protected]>
Co-authored-by: Joel Takvorian <[email protected]>
Assigneestring`yaml:"assignee,omitempty" json:"assignee,omitempty" doc:"value needs to assign to output field"`
107
-
LabelsPrefixstring`yaml:"labels_prefix,omitempty" json:"labels_prefix,omitempty" doc:"labels prefix to use to copy input lables, if empty labels will not be copied"`
108
-
AddZonebool`yaml:"add_zone,omitempty" json:"add_zone,omitempty" doc:"if true the rule will add the zone"`
109
-
OutputKeysK8SOutputKeys`yaml:"-" json:"-"`
101
+
IPFieldstring`yaml:"ipField,omitempty" json:"ipField,omitempty" doc:"entry IP input field"`
Assigneestring`yaml:"assignee,omitempty" json:"assignee,omitempty" doc:"value needs to assign to output field"`
107
+
LabelsPrefixstring`yaml:"labels_prefix,omitempty" json:"labels_prefix,omitempty" doc:"labels prefix to use to copy input labels, if empty labels will not be copied"`
108
+
LabelInclusions []string`yaml:"label_inclusions,omitempty" json:"label_inclusions,omitempty" doc:"labels to include, if empty all labels will be included. Only used if labels_prefix is specified"`
109
+
LabelExclusions []string`yaml:"label_exclusions,omitempty" json:"label_exclusions,omitempty" doc:"labels to exclude, if empty no labels will be excluded. Only used if labels_prefix is specified"`
110
+
LabelValueMaxLength*int`yaml:"label_value_max_length,omitempty" json:"label_value_max_length,omitempty" doc:"label value max length, if specified, will trim label values to this length"`
111
+
AnnotationsPrefixstring`yaml:"annotations_prefix,omitempty" json:"annotations_prefix,omitempty" doc:"annotations prefix to use to copy input annotations, if empty annotations will not be copied"`
112
+
AnnotationInclusions []string`yaml:"annotation_inclusions,omitempty" json:"annotation_inclusions,omitempty" doc:"annotations to include, if empty all annotations will be included. Only used if annotations_prefix is specified"`
113
+
AnnotationExclusions []string`yaml:"annotation_exclusions,omitempty" json:"annotation_exclusions,omitempty" doc:"annotations to exclude, if empty no annotations will be excluded. Only used if annotations_prefix is specified"`
114
+
AnnotationValueMaxLength*int`yaml:"annotation_value_max_length,omitempty" json:"annotation_value_max_length,omitempty" doc:"annotation value max length, if specified, will trim annotation values to this length"`
115
+
AddZonebool`yaml:"add_zone,omitempty" json:"add_zone,omitempty" doc:"if true the rule will add the zone"`
0 commit comments