diff --git a/apis/management.cattle.io/v3/alerting_types.go b/apis/management.cattle.io/v3/alerting_types.go index f96aa39e..0467ac6b 100644 --- a/apis/management.cattle.io/v3/alerting_types.go +++ b/apis/management.cattle.io/v3/alerting_types.go @@ -81,13 +81,12 @@ type TargetPod struct { } type TargetEvent struct { - Type string `json:"type,omitempty" norman:"required,options=Normal|Warning,default=Warning"` + EventType string `json:"eventType,omitempty" norman:"required,options=Normal|Warning,default=Warning"` ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|Statefulset|Daemonset"` } type TargetWorkload struct { WorkloadID string `json:"workloadId,omitempty"` - Type string `json:"type,omitempty" norman:"required,options=deployment|statefulset|daemonset,default=deployment"` Selector map[string]string `json:"selector,omitempty"` AvailablePercentage int `json:"availablePercentage,omitempty" norman:"required,min=1,max=100,default=70"` }