Open manfuin opened 2 years ago
after further testing it is turned out "jobs/finalizers" permissions needs to be added as well for after-hook, otherwise it failed to create job with the same error:
E0705 22:00:55.312683 1 job_controller.go:272] Failed to create new Job : jobs.batch "fence-
At least when running on the later OKD, controller failed to create a Jobs due to missing nodes/finalizers permisisons. Adding following to RBAC:
fixes the issue. Might be less verbs needed to more strict compliance.