commit 4a756223d8ba7259a698f28c0a0ab0d5ac6db16ff830784133d9afd4153eb7f0 Author: Richard Brown Date: Wed Jan 12 10:06:22 2022 +0000 Accepting request 945519 from home:ojkastl_buildservice:Branch_devel_kubic new package ktop: A top-like tool for your Kubernetes clusters OBS-URL: https://build.opensuse.org/request/show/945519 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/ktop?expand=0&rev=1 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..f76f138 --- /dev/null +++ b/_service @@ -0,0 +1,21 @@ + + + https://github.com/vladimirvivien/ktop + git + .git + v0.2.0 + @PARENT_TAG@ + enable + v(.*) + + + ktop + + + *.tar + gz + + + ktop-0.2.0.tar.gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..304f4a0 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/vladimirvivien/ktop + 426916f7d1eb3d9da0586970b112f21d6ebdfff0 \ No newline at end of file diff --git a/ktop-0.2.0.tar.gz b/ktop-0.2.0.tar.gz new file mode 100644 index 0000000..5f9b70b --- /dev/null +++ b/ktop-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d69590bebdd1288fa0419e58999c11425944f7fee8f74378ee83a86d6b7577f +size 1226962 diff --git a/ktop.changes b/ktop.changes new file mode 100644 index 0000000..0c30cbd --- /dev/null +++ b/ktop.changes @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Tue Jan 11 08:21:37 UTC 2022 - Johannes Kastl + +- BuildRequire go 1.17 or higher + +------------------------------------------------------------------- +Sat Jan 01 14:50:24 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.2.0: + * Support for kubectl/krew plugin + * small fix to support clusters with oidc auth + * Documentation update + * Refinement of the UI + * Another code refactor + * Remove controller-runtime to use simple watchers + * Refreshing node panel with new columns + * Simplify controller-runtime usage to only retrieve obj list + * Remodling with controller-runtime + * Node and pod overview screen works + +------------------------------------------------------------------- +Sat Jan 1 14:46:05 UTC 2022 - Johannes Kastl + +- creating package at version 0.2.0 diff --git a/ktop.spec b/ktop.spec new file mode 100644 index 0000000..c40cab0 --- /dev/null +++ b/ktop.spec @@ -0,0 +1,55 @@ +# +# spec file for package ktop +# +# Copyright (c) 2022 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/ +# + + +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +Name: ktop +Version: 0.2.0 +Release: 0 +Summary: A top-like tool for your Kubernetes clusters +License: Apache-2.0 +URL: https://github.com/vladimirvivien/ktop +Source: ktop-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: go >= 1.17 + +%description +A top-like tool for your Kubernetes cluster. + +Following the tradition of Unix/Linux top tools, ktop is a tool that displays useful metrics information about nodes, pods, and other workload resources running in a Kubernetes cluster. + +%prep +%setup -q +%setup -q -T -D -a 1 + +%build +go build \ + -mod=vendor \ + -buildmode=pie \ + -ldflags="-X main.Version=%{version}" + +%install +# Install the binary. +install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..02544ce --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:782576e2df82b473a4c5ab21c1c775bb03bf670ca8c5a92cf127ca5d682facfc +size 9673711