Security scanner garbage collection support
Adds support for calling GC in the security scanner for any layers+storage removed by GC on the Quay side
This commit is contained in:
		
							parent
							
								
									5225642850
								
							
						
					
					
						commit
						d609e6a1c4
					
				
					 4 changed files with 87 additions and 23 deletions
				
			
		
							
								
								
									
										1
									
								
								app.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								app.py
									
										
									
									
									
								
							|  | @ -236,6 +236,7 @@ else: | |||
| database.configure(app.config) | ||||
| model.config.app_config = app.config | ||||
| model.config.store = storage | ||||
| model.config.register_image_cleanup_callback(secscan_api.cleanup_layers) | ||||
| 
 | ||||
| @login_manager.user_loader | ||||
| def load_user(user_uuid): | ||||
|  |  | |||
		Reference in a new issue