diff --git a/deploy/02-deployment.yaml b/deploy/02-deployment.yaml index 69ae610b..7d208058 100644 --- a/deploy/02-deployment.yaml +++ b/deploy/02-deployment.yaml @@ -14,7 +14,7 @@ spec: serviceAccountName: event-exporter containers: - name: event-exporter - image: ghcr.io/opsgenie/kubernetes-event-exporter:v0.10 + image: ghcr.io/opsgenie/kubernetes-event-exporter:v0.11 imagePullPolicy: IfNotPresent args: - -conf=/data/config.yaml diff --git a/pkg/kube/watcher.go b/pkg/kube/watcher.go index fec0224f..7ef0fc04 100644 --- a/pkg/kube/watcher.go +++ b/pkg/kube/watcher.go @@ -68,6 +68,7 @@ func (e *EventWatcher) onEvent(event *corev1.Event) { ev := &EnhancedEvent{ Event: *event.DeepCopy(), } + ev.Event.ManagedFields = nil labels, err := e.labelCache.GetLabelsWithCache(&event.InvolvedObject) if err != nil {