Skip to content

Commit f1de63f

Browse files
committed
feat: add LabelMatchMode field to Workload struct
1 parent af8244e commit f1de63f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

api/litmuschaos/v1alpha1/chaosengine_types.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,11 @@ const (
135135
)
136136

137137
type Workload struct {
138-
Kind WorkloadKind `json:"kind"`
139-
Namespace string `json:"namespace"`
140-
Names string `json:"names,omitempty"`
141-
Labels string `json:"labels,omitempty"`
138+
Kind WorkloadKind `json:"kind"`
139+
Namespace string `json:"namespace"`
140+
Names string `json:"names,omitempty"`
141+
Labels string `json:"labels,omitempty"`
142+
LabelMatchMode string `json:"labelMatchMode,omitempty"`
142143
}
143144

144145
type Pod struct {

0 commit comments

Comments
 (0)