Johannes Kastl 2024-11-26 14:32:22 +00:00 committed by Git OBS Bridge
commit 73ac88f9d7
10 changed files with 176 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.11.0</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">c8868960a3ad151a7e2de9c81ff137690138092d</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,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37439e823c5ae762c1c5384869930f7e65ba33ccadd2087d890d0bcad0a57013
size 24586

View File

@ -0,0 +1,63 @@
-------------------------------------------------------------------
Tue Nov 26 14:13:01 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 1.11.0:
* bump version v1.11.0
* Replicate nsenter options to pod spec (#69)
* Adding ability to mount CSI volumes in privildeged shell (#64)
* add KUBECTL_NODE_SHELL_IMAGE_PULL_SECRET_NAME to enable
imagePullSecrets (#62)
* Add flags for netns attach (#68)
-------------------------------------------------------------------
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.11.0
mtime: 1732565161
commit: c8868960a3ad151a7e2de9c81ff137690138092d

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.11.0
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