File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,12 @@ func initCmd() *cli.Command {
71
71
}
72
72
73
73
func installK8sLib () error {
74
- if _ , err := exec .LookPath ("jb" ); err != nil {
74
+ jbBinary := "jb"
75
+ if env := os .Getenv ("TANKA_JB_PATH" ); env != "" {
76
+ jbBinary = env
77
+ }
78
+
79
+ if _ , err := exec .LookPath (jbBinary ); err != nil {
75
80
return errors .New ("jsonnet-bundler not found in $PATH. Follow https://tanka.dev/install#jsonnet-bundler for installation instructions" )
76
81
}
77
82
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ route: "/env-vars"
10
10
** Description** : Path to the ` kubectl ` tool executable
11
11
** Default** : ` $PATH/kubectl `
12
12
13
+ ### TANKA_JB_PATH
14
+
15
+ ** Description** : Path to the ` jb ` tool executable
16
+ ** Default** : ` $PATH/jb `
17
+
13
18
### TANKA_KUBECTL_TRACE
14
19
15
20
** Description** : Print all calls to ` kubectl `
You can’t perform that action at this time.
0 commit comments