aiven/aiven-operator

User Agent does not include version number

Closed this issue · 0 comments

In internal logs we are seeing the K8s Operator appear with a User-Agent header as follows:

"k8s-operator/"

It looks like the version number is not correctly appended in the two places where we call aiven.NewTokenClient().

I think it would also be good to make the UA a little more Aiven specific by appending -aiven to it like we do in the Terraform Provider, ie "k8s-operator-aiven" because then we can know with more confidence where these API calls are coming from.