nicolaferraro commented on a change in pull request #2339:
URL: https://github.com/apache/camel-k/pull/2339#discussion_r642871946
##########
File path: pkg/cmd/modeline.go
##########
@@ -53,7 +53,7 @@ var (
// file options must be considered relative to the source files they
belong to
fileOptions = map[string]bool{
"resource": true,
- "config": true,
+ "kube-client": true,
Review comment:
I think it's `kube-config`. This part also opens a question, because
when running an integration file, one expects files declared in modeline to be
relative to the file location, not to the cwd. So it should work the same for
files declared as `config`/`resource` with `file:` prefix.
Otherwise the outcome of running an integration file depends on the current
dir when you run the kamel command.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]