fix: force set the kubectl path when running kubectl commands

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-02-06 14:39:48 -05:00
1 parent f5f583b12b
commit 8711a1c801
1 file changed
+3
+3
View File
@@ -117,6 +117,9 @@ func (k KubernetesClient) ApplyKubernetesManifest(ctx context.Context, input App
"-f",
input.Manifest,
},
Env: map[string]string{
"KUBECONFIG": KubeConfigPath,
},
StreamStdio: true,
})
if err != nil {