1
0
mirror of synced 2026-07-01 15:40:49 +00:00

Add a --context option

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
This commit is contained in:
Sylvain Rabot
2020-11-02 20:50:14 +01:00
parent 9da7ded976
commit 78d7dca985
126 changed files with 136 additions and 54 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ func createSourceGitCmdRun(cmd *cobra.Command, args []string) error {
ctx, cancel := context.WithTimeout(context.Background(), timeout)
defer cancel()
kubeClient, err := utils.KubeClient(kubeconfig)
kubeClient, err := utils.KubeClient(kubeconfig, kubecontext)
if err != nil {
return err
}