Kubernetes beats deployment yaml syntax error linked from support documents to GitHub

I believe there is a syntax error in the daemonset configuration in all the beats example/refrence yaml's in the elastic beats repo on GitHub. see below for the issue with the filbeat config (though it looks like that section is repeated in all other examples given under beats/deploy/kubernetes at main · elastic/beats · GitHub )

on line 164 at https://raw.githubusercontent.com/elastic/beats/8.7/deploy/kubernetes/filebeat-kubernetes.yaml it reads:

    serviceAccountname: filebeat

which is not the way to refrence the serviceaccount to run the daemonset, it should be:

    serviceAccount: filebeat

Judging by the makefile in that repo the following files should be updated and make(looks like a jenkins job) rerun


I actually have a case with this open with elastic but this was a bit tricky as they seem to be more familiar with the support docs not git itself. FYI these files are referenced in the support documents:

I would normally open a GitHub pull to fix this but the default issue template appears to heavily imply I should report it here first.

can someone else here confirm and suggest what I should do next? (open a ticket and pull request?, Wait for an elastic engineer to update?, etc.)

So I actually tracked down the Issue, apparently in a previous Kubernetes version they deprecated the serviceaccount syntax and changed it to serviceaccountname using the version of Kubernetes we use locally it does not seem to support this new field name.

Not a bug just API version deprecation's and pain for those of us that don't follow the bleeding edge. hopefully this helps someone else out there.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.