Compare commits

..

No commits in common. "25e93ab45c65e6dd842b65778c4dea360c5f2f7d" and "f9ed5be6709b4ed9d2dfde2b8021d9722b516da9" have entirely different histories.

2 changed files with 16 additions and 18 deletions

View File

@ -139,11 +139,9 @@ in
klogs = lib.mkDefault "${pkgs.writeShellScript "klogs" ''
ctx="$1"
shift
namespace="$1"
shift
label="$1"
shift
namespace="$2"
label="$3"
echo=${pkgs.coreutils}/bin/echo
if [[ "$ctx" == "" || "$namespace" == "" || "$label" == "" ]]; then
echo "Usage: klogs context namespace label"
@ -156,7 +154,7 @@ in
exit 1
fi
kubectl --context "$ctx" logs -f -n "$namespace" -l "$label" $@
kubectl --context "$ctx" logs -f -n "$namespace" -l "$label"
''}";
nixfix = lib.mkDefault "nix fmt ./**/*.nix";