Johannes Kastl 2024-11-13 10:33:06 +00:00 committed by Git OBS Bridge
commit 8d5ab26059
9 changed files with 162 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/kvaps/kubectl-node-shell</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v1.10.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual">
<param name="basename">kubectl-node-shell</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/kvaps/kubectl-node-shell</param>
<param name="changesrevision">3959c0fcc8b18d644674c0d7f36e4de08e9531aa</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ed685d3d51d8d61296c67891fc9c325688372567151ade3947aae02df492b61
size 20490

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c107346d4e200f0ef2634357a4ca0edc19b918da822204a8bd9a678f3f2532c3
size 21002

View File

@ -0,0 +1,52 @@
-------------------------------------------------------------------
Wed Nov 13 10:10:10 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.10.2:
* Prepare release v1.10.2
* qfix readme.md (#67)
* add custom_image (#66)
* Update krew install doc (#42)
-------------------------------------------------------------------
Mon Jan 22 05:30:25 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.10.1:
* fix grep for check resource quota
-------------------------------------------------------------------
Sat Jan 20 17:36:49 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.10.0:
* bump version v1.10.0
* Fix Windows support for 2019 (#47)
* Automatically set or not set resource quota through the cluster
(#59)
-------------------------------------------------------------------
Sat Jan 20 17:34:59 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.9.0:
* feat(node-shell): optional pod running timeout (#57)
-------------------------------------------------------------------
Sun Jan 07 18:22:52 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.8.1:
* Support in-cluster configuration (#55)
-------------------------------------------------------------------
Fri Sep 08 14:16:44 UTC 2023 - kastl@b1-systems.de
- Update to version 1.8.0:
* Add X-mode for debugging minimal systens (#51)
-------------------------------------------------------------------
Tue Jan 24 08:43:38 UTC 2023 - kastl@b1-systems.de
- Update to version 1.7.0:
* Add support for Windows nodes (#45)
-------------------------------------------------------------------
Thu Jan 12 12:07:24 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- new package kubectl-node-shell: Exec into node via kubectl

View File

@ -0,0 +1,4 @@
name: kubectl-node-shell
version: 1.10.2
mtime: 1731428321
commit: 3959c0fcc8b18d644674c0d7f36e4de08e9531aa

53
kubectl-node-shell.spec Normal file
View File

@ -0,0 +1,53 @@
#
# spec file for package kubectl-node-shell
#
# 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/
#
# For kubectl to find this correctly,
# the executable needs to be named kubectl-node_shell
# (with an underscore in node_shell)
%define executable_name kubectl-node_shell
Name: kubectl-node-shell
Version: 1.10.2
Release: 0
Summary: Exec into node via kubectl
License: Apache-2.0
URL: https://github.com/kvaps/kubectl-node-shell
Source: kubectl-node-shell-%{version}.tar.gz
Requires: bash
BuildArch: noarch
%description
Start a root shell in the node's host OS running.
(formerly known as kubectl-enter)
%prep
%setup -q
%build
%install
sed -i '1s|^.*$|#!%{_bindir}/sh|' %{executable_name}
# Install the binary.
install -D -m 0755 %{executable_name} %{buildroot}/%{_bindir}/%{executable_name}
%files
%doc README.md
%license LICENSE
%{_bindir}/%{executable_name}
%changelog