fix: force set the kubectl path when running kubectl commands

This commit is contained in:
Jose Diaz-Gonzalez
2024-02-06 14:39:48 -05:00
parent f5f583b12b
commit 8711a1c801

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 {