This should fix the intermittent KubeJobFailed alerts for the post-sync hook job, since the job sometimes fails because the ServiceAccount and RBAC rules are missing.
Checklist
[x] The PR has a meaningful title. It will be used to auto-generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[x] PR contains a single logical change (to build a better changelog).
[x] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
This should fix the intermittent KubeJobFailed alerts for the post-sync hook job, since the job sometimes fails because the ServiceAccount and RBAC rules are missing.
Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelog.