Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

kubehound 1.6.4 #205772

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Changes from all commits
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
20 changes: 10 additions & 10 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 All @@ -11,12 +11,12 @@ class Kubehound < Formula
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "888caf7860ec3a590e6a1f2191921bb4e6f3d5129dbe354d71d88bcc4c0ac429"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "83b0196974c1d8c2970d701d4802fd598d6148c3c275951c1a4b6a900c1c5056"
sha256 cellar: :any_skip_relocation, arm64_ventura: "a185b3e70a407d83f15c744cf580d2bab8eaad802f06f8c6d546f26fadc47fd1"
sha256 cellar: :any_skip_relocation, sonoma: "324248f63f536e09ac0fb11135b57781c927609a5ff8e4714aa909fce63d15b9"
sha256 cellar: :any_skip_relocation, ventura: "492e67b3de12c1eb452a8482b64a8bcf6eb3c136f3ad4b871827e4f4eba5fa33"
sha256 cellar: :any_skip_relocation, x86_64_linux: "16d788fbf5f76adce0f0975b6f18cb8708dd6451981b7cbdc60565df6d4e792f"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "46205128162d5b6426da41d995af1a4b7ffc80922bf7be21d88b53b051b0bfde"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "4efa0e3d2f31f208b9f6362e9d5a9a45dec95f63c1cffcc627e847aad8fc428b"
sha256 cellar: :any_skip_relocation, arm64_ventura: "83b3bc446f6498809bb4aec69bd21599647b687bfe0070531d5242da25213adc"
sha256 cellar: :any_skip_relocation, sonoma: "2030af4d1926d7e5b4030e2b2e50af328ebe5a9cf9f3240aeddc19122e745513"
sha256 cellar: :any_skip_relocation, ventura: "673c01749b813c570f2044863796057528a5f032780f2e29dfc5579328dd24d9"
sha256 cellar: :any_skip_relocation, x86_64_linux: "3ff86c1799aba7da91ebd19693f46c67286d75ec041bf6b0a650455e634ebc68"
end

depends_on "go" => [:build, :test]
Expand All @@ -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