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

Controller is missing patch event privileges #86

Closed
jessesuen opened this issue May 23, 2019 · 0 comments · Fixed by #89
Closed

Controller is missing patch event privileges #86

jessesuen opened this issue May 23, 2019 · 0 comments · Fixed by #89
Labels
bug Something isn't working
Milestone

Comments

@jessesuen
Copy link
Member

It seems rollout-controller also needs patch privileges on events.

E0523 07:06:00.421401       1 event.go:203] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"rollouts-demo.15a13e031675200e", GenerateName:"", Namespace:"default", SelfLink:"", UID:"", ResourceVersion:"17258", 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), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, InvolvedObject:v1.ObjectReference{Kind:"Rollout", Namespace:"default", Name:"rollouts-demo", UID:"259e2a57-7d29-11e9-b280-0eb058d58717", APIVersion:"argoproj.io/v1alpha1", ResourceVersion:"17355", FieldPath:""}, Reason:"ScalingReplicaSet", Message:"Scaled up replica set rollouts-demo-7d95bc4d88 to 3", Source:v1.EventSource{Component:"rollouts-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63694191929, loc:(*time.Location)(0x1e4f6e0)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbf31af76186cff09, ext:347013080949, loc:(*time.Location)(0x1e4f6e0)}}, Count:2, 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 "rollouts-demo.15a13e031675200e" is forbidden: User "system:serviceaccount:argo-rollouts:argo-rollouts" cannot patch resource "events" in API group "" in the namespace "default"' (will not retry!)
@jessesuen jessesuen added the bug Something isn't working label May 23, 2019
@jessesuen jessesuen added this to the v0.3.2 milestone May 23, 2019
@jessesuen jessesuen changed the title argo-rollouts requires patch event privileges Controller is missing patch event privileges May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant