This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 9daf8c6 Avoid requirements of a kubeconfig when using command #1368
9daf8c6 is described below
commit 9daf8c641182dbb5ff3cdf6db3605b9775b22644
Author: lburgazzoli <[email protected]>
AuthorDate: Fri Jun 5 08:52:23 2020 +0200
Avoid requirements of a kubeconfig when using command #1368
---
pkg/cmd/init.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pkg/cmd/init.go b/pkg/cmd/init.go
index 4548fa1..cd50fe6 100644
--- a/pkg/cmd/init.go
+++ b/pkg/cmd/init.go
@@ -47,6 +47,9 @@ func newCmdInit(rootCmdOptions *RootCmdOptions)
(*cobra.Command, *initCmdOptions
}
return nil
},
+ Annotations: map[string]string{
+ offlineCommandLabel: "true",
+ },
}
return &cmd, &options