mydict.keys() should be converted to list, otherwise it causes errors in loop iteration. Remove extra space after class name, which broke configmap. Also allow set reclaimPolicy property.