commit d4b85b590d668581f3358a83e085d8346a8b75e5ec3b2ddd42e99f3523aa8944 Author: Johannes Kastl Date: Tue Oct 29 15:01:33 2024 +0000 fix completion subpackages OBS-URL: https://build.opensuse.org/package/show/devel:kubic/hubble?expand=0&rev=17 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..dbcd7a7 --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://github.com/cilium/hubble + git + .git + v1.16.3 + @PARENT_TAG@ + enable + v(.*) + + + + + + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..195aaa2 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/cilium/hubble + 5d300c49107b3fc8f7d3354ae497eae289691456 \ No newline at end of file diff --git a/hubble-0.13.5.obscpio b/hubble-0.13.5.obscpio new file mode 100644 index 0000000..d4373bc --- /dev/null +++ b/hubble-0.13.5.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dcaf035eadcc3d945496924d2caa7403d1cddf46958a5f2264deb82c52c9109 +size 67875854 diff --git a/hubble-0.13.6.obscpio b/hubble-0.13.6.obscpio new file mode 100644 index 0000000..31a6481 --- /dev/null +++ b/hubble-0.13.6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85b1d21e2c5fde4c2e04e89ef1c559bb0b90acc30eff7d57170fe5b328e337a0 +size 67876878 diff --git a/hubble-1.16.0.obscpio b/hubble-1.16.0.obscpio new file mode 100644 index 0000000..c1cc666 --- /dev/null +++ b/hubble-1.16.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02bbb106fac63e8eae86f2a56a86f8a5fa2df5689d9f6b1f491201cf92abf192 +size 28113933 diff --git a/hubble-1.16.1.obscpio b/hubble-1.16.1.obscpio new file mode 100644 index 0000000..a4b0935 --- /dev/null +++ b/hubble-1.16.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0062d635414bddb098cc2425bd2d928b60dcf73deee10c3ee0c5c95aa6229b7 +size 28112909 diff --git a/hubble-1.16.2.obscpio b/hubble-1.16.2.obscpio new file mode 100644 index 0000000..363775f --- /dev/null +++ b/hubble-1.16.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aa4d5e96886de1b69051dc114f52caad943cb46a7c91caaec0edb4b502649b3a +size 28114957 diff --git a/hubble-1.16.3.obscpio b/hubble-1.16.3.obscpio new file mode 100644 index 0000000..c38c798 --- /dev/null +++ b/hubble-1.16.3.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:832f672ff2759f331735796b4a473e27aaabd7ab9ed7b77bb9eb423d3899e3b8 +size 28087821 diff --git a/hubble.changes b/hubble.changes new file mode 100644 index 0000000..72c699f --- /dev/null +++ b/hubble.changes @@ -0,0 +1,155 @@ +------------------------------------------------------------------- +Tue Oct 29 14:04:58 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 1.16.3: + * Prepare for v1.16.3 release + * Remove the vendor team from CODEOWNERS + * chore(deps): update actions/checkout action to v4.2.2 + * chore(deps): update actions/setup-go action to v5.1.0 + * chore(deps): update dependency cilium/cilium to v1.16.3 + * chore(deps): update all github action dependencies + * Makefile: Use hubble target to build release binaries + * Drop building 32-bit release binaries + * Update the release issue template + * Update stable release to 1.16.2 + +------------------------------------------------------------------- +Fri Oct 04 19:39:03 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 1.16.2: + * Prepare for v1.16.2 release + * chore(deps): update docker/setup-buildx-action action to v3.7.1 + * chore(deps): update all github action dependencies + * chore(deps): update golang to v1.23.2 + * chore(deps): update docker/build-push-action action to v6.8.0 + * chore(deps): update dependency cilium/cilium to v1.16.2 + * chore(deps): update actions/checkout action to v4.2.0 + * chore(deps): update dependency ubuntu to v24 + * chore(deps): update golang + * chore(deps): update dependency helm/helm to v3.16.1 + * chore(deps): update docker.io/library/alpine docker tag to + v3.20.3 + * Update stable release to 1.16.1 + +------------------------------------------------------------------- +Sat Sep 14 13:56:03 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 1.16.1: + * Prepare for v1.16.1 release + * chore(deps): update golang to v1.23.1 + * chore(deps): update actions/upload-artifact action to v4.4.0 + * chore(deps): update all github action dependencies + * chore(deps): update all github action dependencies + * chore(deps): update golang to v1.23.0 + * chore(deps): update golang to v1.22.6 + * chore(deps): update docker/build-push-action action to v6.6.1 + * chore(deps): update actions/upload-artifact action to v4.3.6 + * chore(deps): update actions/upload-artifact action to v4.3.5 + * chore(deps): update docker/setup-buildx-action action to v3.6.1 + * doc: update slack channel reference + * Remove v0.13 branch from Renovate config + * Update stable release to 1.16.0 + +------------------------------------------------------------------- +Thu Jul 25 17:37:50 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 1.16.0: + (no versions between 0.13.6 and this one) + * Align version numbers with Cilium + * Major Changes: + - Move cilium/hubble code to cilium/cilium repo + (cilium/cilium#31893, @michi-covalent) + * Minor Changes: + - hubble: node labels (cilium/cilium#32851, @kaworu) + - hubble: support drop_reason_desc in flow filter + (cilium/cilium#32135, @chaunceyjiang) + * Misc Changes: + - Add auto labeler for hubble-cli (cilium/cilium#32343, @aanm) + - hive: Rebase on cilium/hive (cilium/cilium#32020, @bimmlerd) + - hubble: Support --cel-expression filter in hubble observe + (cilium/cilium#32147, @chancez) + +------------------------------------------------------------------- +Thu Jul 18 18:52:22 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.6: + * Modify version to 0.13.6 + * Modify changelog for 0.13.6 release + * Bump golang to v1.21.12 + * chore(deps): update github/codeql-action action to v3.25.12 + * chore(deps): update all github action dependencies + * chore(deps): update all github action dependencies + * chore(deps): update all github action dependencies + * chore(deps): update github/codeql-action action to v3.25.11 + * chore(deps): update docker/build-push-action action to v6.2.0 + * chore(deps): update golang stable + * chore(deps): update golang stable + * chore(deps): update docker/build-push-action action to v6 + * chore(deps): update docker.io/library/alpine docker tag to + v3.19.2 + * chore(deps): update golang stable + * chore(deps): update golang stable + * chore(deps): update docker/build-push-action action to v5.4.0 + * chore(deps): update all github action dependencies + * Prepare for v0.13.6 development + +------------------------------------------------------------------- +Fri Jun 07 19:52:59 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.5: + * Modify version to 0.13.5 + * Modify changelog for 0.13.5 release + * Bump golang to v1.21.11 + * chore(deps): update github/codeql-action action to v3.25.8 + * chore(deps): update github/codeql-action action to v3.25.7 + * chore(deps): update docker/login-action action to v3.2.0 + * chore(deps): update all github action dependencies + * chore(deps): update golang stable + * Prepare for v0.13.5 development + +------------------------------------------------------------------- +Tue May 14 05:23:16 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.4: + * Modify version to 0.13.4 + * Modify changelog for 0.13.4 release + * Bump Golang to v1.21.10 + * vendor: Bump Cilium to v1.15.4 + * chore(deps): update golangci/golangci-lint-action action to v6 + * chore(deps): update all github action dependencies + * chore(deps): update golangci/golangci-lint-action action to + v5.3.0 + * chore(deps): update actions/setup-go action to v5.0.1 + * chore(deps): update golangci/golangci-lint-action action to + v5.1.0 + * chore(deps): update golangci/golangci-lint-action action to v5 + * chore(deps): update all github action dependencies + * chore(deps): update helm/kind-action action to v1.10.0 + * chore(deps): update all github action dependencies + * chore(deps): update github/codeql-action action to v3.25.1 + * CHANGELOG: Use correct year for the last few releases + * Prepare for 0.13.4 + +------------------------------------------------------------------- +Thu Apr 18 13:16:14 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.3: + * Modify version to 0.13.3 + * Modify changelog for 0.13.3 release + * chore(deps): update docker/setup-buildx-action action to v3.3.0 + * chore(deps): update dependency helm/helm to v3.14.4 + * chore(deps): update github/codeql-action action to v3.24.10 + * chore(deps): update dependency cilium/cilium to v1.15.3 + * vendor: update cilium to v1.15.3 + * chore(deps): update github/codeql-action action to v3.24.9 + * chore(deps): update github/codeql-action action to v3.24.8 + * chore(deps): update golang stable + * chore(deps): update all github action dependencies + * chore(deps): update all github action dependencies + * Prepare for 0.13.3 + +------------------------------------------------------------------- +Sat Mar 23 10:53:03 UTC 2024 - Johannes Kastl + +- new package hubble: Network, Service & Security Observability for + Kubernetes using eBPF diff --git a/hubble.obsinfo b/hubble.obsinfo new file mode 100644 index 0000000..312e003 --- /dev/null +++ b/hubble.obsinfo @@ -0,0 +1,4 @@ +name: hubble +version: 1.16.3 +mtime: 1730129755 +commit: 5d300c49107b3fc8f7d3354ae497eae289691456 diff --git a/hubble.spec b/hubble.spec new file mode 100644 index 0000000..808a030 --- /dev/null +++ b/hubble.spec @@ -0,0 +1,138 @@ +# +# spec file for package hubble +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: hubble +Version: 1.16.3 +Release: 0 +Summary: Network, Service & Security Observability for Kubernetes using eBPF +License: Apache-2.0 +URL: https://github.com/cilium/hubble +Source: hubble-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: bash-completion +BuildRequires: fish +BuildRequires: go >= 1.22 +BuildRequires: zsh + +%description +Hubble is a fully distributed networking and security observability platform +for cloud native workloads. It is built on top of Cilium and eBPF to enable +deep visibility into the communication and behavior of services as well as the +networking infrastructure in a completely transparent manner. + +Hubble can answer questions such as: + * Service dependencies & communication map: + - What services are communicating with each other? How frequently? What + does the service dependency graph look like? + - What HTTP calls are being made? What Kafka topics does a service consume + from or produce to? + * Operational monitoring & alerting: + - Is any network communication failing? Why is communication failing? Is it + DNS? Is it an application or network problem? Is the communication broken + on layer 4 (TCP) or layer 7 (HTTP)? + - Which services have experienced a DNS resolution problems in the last 5 + minutes? Which services have experienced an interrupted TCP connection + recently or have seen connections timing out? What is the rate of unanswered + TCP SYN requests? + * Application monitoring: + - What is the rate of 5xx or 4xx HTTP response codes for a particular + service or across all clusters? + - What is the 95th and 99th percentile latency between HTTP requests and + responses in my cluster? Which services are performing the worst? What is + the latency between two services? + * Security observability: + - Which services had connections blocked due to network policy? What + services have been accessed from outside the cluster? Which services have + resolved a particular DNS name? + +%package -n %{name}-bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description -n %{name}-bash-completion +Bash command line completion support for %{name}. + +%package -n %{name}-fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description -n %{name}-fish-completion +Fish command line completion support for %{name}. + +%package -n %{name}-zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description -n %{name}-zsh-completion +zsh command line completion support for %{name}. + +%prep +%autosetup -p 1 -a 1 + +%build +COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/hubble.obsinfo)" +go build \ + -mod=vendor \ + -buildmode=pie \ + -ldflags=" \ + -X github.com/cilium/cilium/hubble/pkg.GitBranch=main \ + -X github.com/cilium/cilium/hubble/pkg.GitHash=${COMMIT_HASH:0:8} \ + -X github.com/cilium/cilium/hubble/pkg.Version=%{version}" \ + -o bin/hubble . + +%install +# Install the binary. +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name} + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/ +%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name} + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} + +%files -n %{name}-bash-completion +%{_datarootdir}/bash-completion/completions/%{name} + +%files -n %{name}-fish-completion +%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +%files -n %{name}-zsh-completion +%{_datarootdir}/zsh/site-functions/_%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..0c1f85f --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fbfaf32ced8bd9a888e09e1b4d425f6ae63cc4c09c3db3792d8a5f8cb16065d +size 5106625