fix: force set the kubectl path when running kubectl commands
This commit is contained in:
1 parent
f5f583b12b
commit
8711a1c801
1 file changed
+3
@@ -117,6 +117,9 @@ func (k KubernetesClient) ApplyKubernetesManifest(ctx context.Context, input App
|
|||||||
"-f",
|
"-f",
|
||||||
input.Manifest,
|
input.Manifest,
|
||||||
},
|
},
|
||||||
|
Env: map[string]string{
|
||||||
|
"KUBECONFIG": KubeConfigPath,
|
||||||
|
},
|
||||||
StreamStdio: true,
|
StreamStdio: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user