From 3b1dbf817a926d5b0ff9cfe2d6b0d3db644d7454 Mon Sep 17 00:00:00 2001 From: zionwu Date: Thu, 19 Apr 2018 16:21:08 +0800 Subject: [PATCH] Change event resource kind to be the same as kubernetes InvolvedObject.Kind --- apis/management.cattle.io/v3/alerting_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/alerting_types.go b/apis/management.cattle.io/v3/alerting_types.go index 098e47cb..834fd5bd 100644 --- a/apis/management.cattle.io/v3/alerting_types.go +++ b/apis/management.cattle.io/v3/alerting_types.go @@ -82,7 +82,7 @@ type TargetPod struct { type TargetEvent struct { 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"` + ResourceKind string `json:"resourceKind,omitempty" norman:"required,options=Pod|Node|Deployment|StatefulSet|DaemonSet"` } type TargetWorkload struct {