-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
devfile/library
#166Labels
area/libraryCommon devfile library for interacting with devfilesCommon devfile library for interacting with devfileskind/bugSomething isn't workingSomething isn't working
Milestone
Description
Which area this feature is related to?
/kind bug
Which area this bug is related to?
/area library
What versions of software are you using?
Go project
Operating System and version:
Go Pkg Version:
Node.js project
Operating System and version:
Node.js version:
Yarn version:
Project.json:
Web browser
Operating System and version:
Browser name and version:
Bug Summary
Describe the bug:
Library ignore the relative kube uri if parsing from byte[].
To Reproduce:
parse from the raw content where a kube uri is defined as a relative path in the devfile, for example: https://raw.githubusercontent.com/yangcao77/go-basic-no-deploy-file/main/devfile.yaml
set ConvertKubernetesContentInUri=true
Expected behavior
Since parser is being asked to convert the kube uri to inlined, and the relative path should not able to be resolved, the parser should error out with a proper error message
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
Suggestion on how to fix the bug
Metadata
Metadata
Assignees
Labels
area/libraryCommon devfile library for interacting with devfilesCommon devfile library for interacting with devfileskind/bugSomething isn't workingSomething isn't working