Skip to content

Commit

Permalink
handle connection namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe committed Nov 6, 2024
1 parent 8680bb8 commit 404f126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connection/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ func SetupConnection(ctx context.Context, connections ExecConnections, cmd *osEx
if err := runtime.DefaultUnstructuredConverter.FromUnstructured(kubeconfig, &connections.Kubernetes.KubeConfig); err != nil {
return nil, err
}

ctx = ctx.WithNamespace(configItem.GetNamespace())
}
}
}
Expand Down

0 comments on commit 404f126

Please sign in to comment.