From ec0d6d2dbcd4bfcf478c82fad526576db3ae130d Mon Sep 17 00:00:00 2001 From: lostbean Date: Thu, 27 Jun 2024 11:05:44 -0300 Subject: [PATCH 1/3] clean-up shell --- shell.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index d391d9da..f799b258 100644 --- a/shell.nix +++ b/shell.nix @@ -11,10 +11,9 @@ cli_kontrol_api_shell = pkgs.callPackage ./libs/cli-kontrol-api/shell.nix {inherit pkgs;}; kardinal_shell = with pkgs; pkgs.mkShell { - buildInputs = [k3d kubectl kustomize argo-rollouts kubernetes-helm minikube istioctl tilt reflex]; + buildInputs = [kubectl kustomize kubernetes-helm minikube istioctl tilt reflex]; shellHook = '' source <(kubectl completion bash) - source <(kubectl-argo-rollouts completion bash) source <(minikube completion bash) printf '\u001b[31m From 2770cec44b8e86b581fa27cf56d8ea7157f8ea02 Mon Sep 17 00:00:00 2001 From: lostbean Date: Thu, 27 Jun 2024 12:34:34 -0300 Subject: [PATCH 2/3] try to fix shell for direnv --- shell.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index f799b258..581312fb 100644 --- a/shell.nix +++ b/shell.nix @@ -11,10 +11,12 @@ cli_kontrol_api_shell = pkgs.callPackage ./libs/cli-kontrol-api/shell.nix {inherit pkgs;}; kardinal_shell = with pkgs; pkgs.mkShell { + nativeBuildInputs = [bashInteractive bash-completion]; buildInputs = [kubectl kustomize kubernetes-helm minikube istioctl tilt reflex]; shellHook = '' - source <(kubectl completion bash) - source <(minikube completion bash) + export SHELLNAME=$(basename $shell) + source <(kubectl completion $SHELLNAME) + source <(minikube completion $SHELLNAME) printf '\u001b[31m ::::: From 6dad6d2b51364d108f2813a8f4992eb7131153f2 Mon Sep 17 00:00:00 2001 From: lostbean Date: Thu, 27 Jun 2024 12:41:04 -0300 Subject: [PATCH 3/3] add mit license --- LICENSE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..d857e802 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Kurtosis Technologies + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.