Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

kubehound 1.6.4 #205772

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Formula/k/kubehound.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Kubehound < Formula
desc "Tool for building Kubernetes attack paths"
homepage "https://kubehound.io"
url "https://github.com/DataDog/KubeHound/archive/refs/tags/v1.6.3.tar.gz"
sha256 "e1858065aeb44d6dccb002bc909be9fd8b9b228ae004c4d74bfebe80fa8c13fa"
url "https://github.com/DataDog/KubeHound/archive/refs/tags/v1.6.4.tar.gz"
sha256 "63cb38cc12f33842a255852a45d2c795f8b20cd7de546154af1dc6a7c9fa0441"
license "Apache-2.0"

livecheck do
Expand Down Expand Up @@ -32,7 +32,7 @@ def install
-X github.com/DataDog/KubeHound/pkg/config.BuildOs=#{goos}
-X github.com/DataDog/KubeHound/pkg/config.BuildArch=#{goarch}
]
system "go", "build", *std_go_args(ldflags:), "./cmd/kubehound/"
system "go", "build", *std_go_args(ldflags:), "-tags", "no_backend", "./cmd/kubehound/"

generate_completions_from_executable(bin/"kubehound", "completion")
end
Expand All @@ -41,7 +41,7 @@ def install
assert_match "kubehound version: v#{version}", shell_output("#{bin}/kubehound version")

ENV["DOCKER_HOST"] = "unix://#{testpath}/invalid.sock"
error_message = "error starting the kubehound stack: Cannot connect to the Docker daemon"
error_message = "error starting the kubehound stack"
assert_match error_message, shell_output("#{bin}/kubehound backend up 2>&1", 1)
end
end
Loading