You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/10/17 00:43:02 UTC

[GitHub] [skywalking-swck] dashanji opened a new pull request #36: fix error

dashanji opened a new pull request #36:
URL: https://github.com/apache/skywalking-swck/pull/36


   1. fix display error in markdown , like 
   ![image](https://user-images.githubusercontent.com/71587243/137587485-0e1c3b68-c366-4d52-a569-ce4d66ba8c74.png)
   2. fix error about updating javaagent's status. When we apply the JavaAgent(custom definition), it may take a while to create.
   3. when I create the default UI and oapserver, it may cause some error as below.
   ```
   E1016 08:59:58.460340    1 event.go:264] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"default.16ae773847ef2a16", 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:"OAPServer", Namespace:"default", Name:"default", UID:"df04ca10-701d-4f14-ae3f-c65847300680", APIVersion:"operator.skywalking.apache.org/v1alpha1", ResourceVersion:"557058", FieldPath:""}, Reason:"resources are created or updated", Message:"resources: [oapserver/templates/cluster_role.yaml oapserver/templates/cluster_role_b
 inding.yaml oapserver/templates/deployment.yaml oapserver/templates/service.yaml oapserver/templates/service_account.yaml]", Source:v1.EventSource{Component:"oapserver-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xc052c303974b1e16, ext:152912802000, loc:(*time.Location)(0x25ab320)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xc052c303974b1e16, ext:152912802000, loc:(*time.Location)(0x25ab320)}}, 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:skywalking-swck-system:default" cannot create resource "events" in API group "" in the namespace "default"' (will not retry!)
   ``` 
   So we need to add the RBAC rule like `// +kubebuilder:rbac:groups="",resources=events,verbs=create;patch`


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

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



[GitHub] [skywalking-swck] hanahmily merged pull request #36: fix error

Posted by GitBox <gi...@apache.org>.
hanahmily merged pull request #36:
URL: https://github.com/apache/skywalking-swck/pull/36


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

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