You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there has been a regression regarding the role of the user used in the APM/ES association. The superuser built-in role is used while we should use one of the roles introduced in #2777
And then try to convert the interface to its implementation in the APM association controller:
// getRoles returns for a given version of the APM Server the set of required roles.funcgetRoles(associated commonv1.Associated) (string, error) {
apmServer, ok:=associated.(*apmv1.ApmServer)
if!ok {
return"", errors.New(".....")
}
v, err:=version.Parse(apmServer.Spec.Version)
iferr!=nil {
return"", err
}
...
I think there has been a regression regarding the role of the user used in the APM/ES association. The
superuser
built-in role is used while we should use one of the roles introduced in #2777cloud-on-k8s/pkg/controller/association/controller/apm_es.go
Lines 37 to 39 in 2465556
The text was updated successfully, but these errors were encountered: