nicolaferraro commented on pull request #1529:
URL: https://github.com/apache/camel-k/pull/1529#issuecomment-644859853


   > Not sure why an integration fails with an unrelated error:
   > 
   > ```
   > Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", 
APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"camel-k.1618bc75ea7819a1", 
GenerateName:"", Namespace:"test-b6f57685-9f53-4eea-8124-2a914f710653", 
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:"IntegrationPlatform", 
Namespace:"test-b6f57685-9f53-4eea-8124-2a914f710653", Name:"camel-k", 
UID:"b029144e-af10-11ea-a42b-42010a140008", APIVersion:"camel.apache.org/v1", 
ResourceVersion:"9968", FieldPath:""}, 
Reason:"IntegrationPlatformPhaseUpdated", Message:"Integration Platform camel-k 
in phase \"Creating\"", 
Source:v1.EventSource{Component:"camel-k-integration-platform-controller", 
Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xbfb1fdacb606a5a1, 
ext:2214009216, loc:(*time.Location)(0x2c03ac0)}}, 
LastTimestamp:v1.Time{Time:time.Time{wall:0xbfb1fdacb606a5a1, ext:2214009216, 
loc:(*time.Location)(0x2c03ac0)}}, Count:1, Type:"Normal", 
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 is forbidden: User 
"system:serviceaccount:test-b6f57685-9f53-4eea-8124-2a914f710653:camel-k-operator"
 cannot create events in the namespace 
"test-b6f57685-9f53-4eea-8124-2a914f710653": no RBAC policy matched' (will not 
retry!)
   > ```
   > 
   > I'm inclined to merge that PR if nobody objects...
   
   Was it on openshift Travis? I think there we login as normal user, so we 
cannot authorize the operator to publish events (and it warns you with that 
log, without failing).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to