ResourceFilter contains K8s ObjectMeta information to further filter resource event objects
Name | Type | Description | Notes |
---|---|---|---|
fields | List<Selector> | Fields provide field filters similar to K8s field selector (see https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/). Unlike K8s field selector, it supports arbitrary fileds like "spec.serviceAccountName", and the value could be a string or a regex. Same as K8s field selector, operator "=", "==" and "!=" are supported. | [optional] |
prefix | String | Prefix filter is applied on the resource name. | [optional] |
labels | List<Selector> | Labels provide listing options to K8s API to watch resource/s. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/label-selectors/ for more info. | [optional] |
afterStart | Boolean | If the resource is created after the start time then the event is treated as valid. | [optional] |
createdBy | org.joda.time.DateTime | [optional] |