From c1d20316a8fe0da4b1805b459620446a6951f387 Mon Sep 17 00:00:00 2001 From: mevrin Date: Sun, 31 Mar 2024 18:05:57 -0400 Subject: [PATCH 1/2] Remove usage of sudo to install kubearmor-client Signed-off-by: mevrin --- README.md | 2 +- install.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa0cf53d..8455e51f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Installation ```shell -curl -sfL http://get.kubearmor.io/ | sudo sh -s -- -b /usr/local/bin +`curl -sfL http://get.kubearmor.io/ | sh -s` ``` ### Installing From Source diff --git a/install.sh b/install.sh index 3dfc890a..a756b12d 100755 --- a/install.sh +++ b/install.sh @@ -60,6 +60,8 @@ execute() { fi install "${srcdir}/${binexe}" "${BINDIR}/" log_info "installed ${BINDIR}/${binexe}" + log_info "karmor is installed in ${BINDIR}" + log_info "invoke ${BINDIR}/${binexe} or move karmor to your desired PATH" done rm -rf "${tmpdir}" } From d7fb7966896396ba4b0404991c7a4dab869b90e8 Mon Sep 17 00:00:00 2001 From: Barun Acharya Date: Thu, 4 Apr 2024 12:24:30 +0530 Subject: [PATCH 2/2] nitfix: keep command in code block Signed-off-by: Barun Acharya --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8455e51f..028f5076 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Installation ```shell -`curl -sfL http://get.kubearmor.io/ | sh -s` +curl -sfL http://get.kubearmor.io/ | sh -s ``` ### Installing From Source