Add checking of length of resourceList before creating of deleting
A chart being installed which only contains CRDs and not
any templates tries to install the resources by default.
The resourceList which is used in this case does not check
if there are resources present in it or not. This commit
adds checks to those particular places where we need to check
if the size of resourceList > 0 during installation and deletion.
Signed-off-by:
Vibhav Bobade <vibhav.bobde@gmail.com>
Showing
+93 -18
Please register or sign in to comment