From d4e1485d228bc37b952c9451b9f07425897f9f18 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 22 May 2023 02:52:56 -0400 Subject: [PATCH] add GKE to kubectl config --- modules/cli/kubectl.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/cli/kubectl.nix b/modules/cli/kubectl.nix index 1d8cc38..832364c 100644 --- a/modules/cli/kubectl.nix +++ b/modules/cli/kubectl.nix @@ -14,8 +14,12 @@ complete -F __start_kubectl k alias k=kubectl ''; - environment.systemPackages = [ - pkgs.kubectl - pkgs.kubernetes-helm + environment.systemPackages = with pkgs; [ + kubectl + kubernetes-helm + + (google-cloud-sdk.withExtraComponents + [ google-cloud-sdk.components.gke-gcloud-auth-plugin ]) + ]; }