Skip to content

Commit

Permalink
automatically set kubeconfig path
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Nov 15, 2023
1 parent 02f81d8 commit fb42af3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]}"
Expand Down

0 comments on commit fb42af3

Please sign in to comment.