From 331a451d4b4a8d2c6cbc66323057a2081eb4efef Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 15 Jul 2024 16:18:23 -0500 Subject: [PATCH] Add krew --- .envrc | 2 ++ shell.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/.envrc b/.envrc index aee163b..fe0b2e6 100644 --- a/.envrc +++ b/.envrc @@ -2,4 +2,6 @@ export KUBECONFIG="$(expand_path ./kubeconfig)" export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)" export TALOSCONFIG="$(expand_path ./kubernetes/bootstrap/talos/clusterconfig/talosconfig)" +export KREW_ROOT="$(expand_path ~/.krew/bin)"; +PATH_add $KREW_ROOT use nix diff --git a/shell.nix b/shell.nix index c98e7cf..52b64fb 100644 --- a/shell.nix +++ b/shell.nix @@ -11,6 +11,7 @@ pkgs.mkShell { go-task helmfile k9s + krew kubectl kubevirt kubernetes-helm