Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot patch event log errors #1309

Closed
nicolaferraro opened this issue Feb 28, 2020 · 0 comments · Fixed by #1344
Closed

Cannot patch event log errors #1309

nicolaferraro opened this issue Feb 28, 2020 · 0 comments · Fixed by #1344
Assignees
Milestone

Comments

@nicolaferraro
Copy link
Member

I get many errors like this one. They don't hurt, but pollute the logs..

camel-k-operator-695cbbf97d-pq867 camel-k-operator E0228 13:42:15.142416       1 event.go:237] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"api.15f794b3ff5fcc6a", GenerateName:"", Namespace:"default", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:"Integration", Namespace:"default", Name:"api", UID:"b2f5e0db-4575-4ebf-8615-e5b37c8e5fc2", APIVersion:"camel.apache.org/v1", ResourceVersion:"1672411", FieldPath:""}, Reason:"IntegrationError", Message:"Cannot reconcile Integration api: error during trait customization: exit status 1", Source:v1.EventSource{Component:"camel-k-integration-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xbf8e6403b293c06a, ext:249762055628, loc:(*time.Location)(0x3138500)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbf8e640dc85e7870, ext:290053920707, loc:(*time.Location)(0x3138500)}}, Count:10, Type:"Warning", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "api.15f794b3ff5fcc6a" is forbidden: User "system:serviceaccount:default:camel-k-operator" cannot patch resource "events" in API group "" in the namespace "default"' (will not retry!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant