diff --git a/shell.nix b/shell.nix index 67bf8f4ad3..a290f29c7e 100644 --- a/shell.nix +++ b/shell.nix @@ -92,6 +92,8 @@ in # kubectl completion bash source <(kubectl completion bash) + # Automatically connect to correct cluster + alias kubectl='KUBECONFIG=$(bolt output project-root)/gen/k8s/kubeconfig/$(bolt output namespace).yml kubectl' # Fix dynamic library path to fix issue with Python export LD_LIBRARY_PATH="${pkgs.clang}/resource-root/lib:${pkgs.lib.strings.makeLibraryPath [ pkgs.openssl ]}"