Skip to content

Commit b74604f

Browse files
authored
[States] unknown field defaultCondition (#170)
Signed-off-by: Spolti <filippespolti@gmail.com>
1 parent ee78bba commit b74604f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model/workflow.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ func (r *AuthArray) unmarshalMany(data []byte) error {
171171
type Workflow struct {
172172
BaseWorkflow `json:",inline"`
173173
// +kubebuilder:validation:MinItems=1
174+
// +kubebuilder:pruning:PreserveUnknownFields
174175
States []State `json:"states" validate:"required,min=1,dive"`
175176
// +optional
176177
Events []Event `json:"events,omitempty"`

0 commit comments

Comments
 (0)