Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

1.3-alpha – GCP support, Context setter

Pre-release
Pre-release
Compare
Choose a tag to compare
@Mikulas Mikulas released this 03 Jul 07:14
· 27 commits to master since this release

resolved issues:

  • Support for cluster switching #3
    • A new -context=string flag was introduced, which passed the context to all invoked kubectl commands. This greatly simplifies managing multiple clusters: an operator can have multiple shells opened at once with different contexts.
    • Example usage: ./kubectl-repl -context=beta
  • GCP / GKE Not supported #8
    • Repl wrapped every command around kubectl, but namespace selector communicated directly with the cluster through the golang SDK. In 2830fe3 this was refactored to also use kubectl. This solves many issues, including authentication and state persistence with KUBECONFIG.