943a400b9a
Currently, the rbac logic would allow for ``jobs`` or ``daemonsets`` if it is specified in the dependencies, even if they may just be empty or null. This patch set addresses this by checking the jobs or daemonsets map in the value.yaml is non-empty before including it in the Role. This mirrors the fix in OSH-infra in [0]. [0] https://review.openstack.org/#/c/530337/1 Change-Id: I37e8d8c1a0d587410811c544e049bbafed73cba8 Signed-off-by: Tin Lam <tin@irrational.io>