#NEWLINE# def render_import_image( self , use_auth = None ) : #NEWLINE# #INDENT# '\n        Configure the import_image plugin\n        ' #NEWLINE# if self . dj . dock_json_has_plugin_conf ( 'postbuild_plugins' , 'import_image' ) : #NEWLINE# #INDENT# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'imagestream' , self . spec . imagestream_name . value ) #NEWLINE# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'docker_image_repo' , self . spec . imagestream_url . value ) #NEWLINE# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'url' , self . spec . builder_openshift_url . value ) #NEWLINE# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'build_json_dir' , self . spec . builder_build_json_dir . value ) #NEWLINE# use_auth = self . spec . use_auth . value #NEWLINE# if ( use_auth is not None ) : #NEWLINE# #INDENT# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'use_auth' , self ) #NEWLINE# #UNINDENT# if self . spec . imagestream_insecure_registry . value : #NEWLINE# #INDENT# self . dj . dock_json_set_arg ( 'postbuild_plugins' , 'import_image' , 'insecure_registry' , True )