Fix k8s paths for sure
@@ -132,7 +132,7 @@ class Runner(BaseRunner):
def _get_entity_abs_path(root_folder, entity_file_path):
- if entity_file_path[0] == '/':
+ if entity_file_path[0] == '/' and not entity_file_path.startswith(root_folder):
path_to_convert = (root_folder + entity_file_path) if root_folder else entity_file_path
else:
path_to_convert = (os.path.join(root_folder, entity_file_path)) if root_folder else entity_file_path
