mirror of
https://abf.rosa.ru/djam/kubectl-execws.git
synced 2025-02-23 14:32:48 +00:00
Imported from SRPM
This commit is contained in:
commit
b729888285
2 changed files with 42 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
kubectl-execws-0.1.0.tar.gz: e211a9a491f2aeb825b8d2fe0ef8d8c2c401e814
|
40
kubectl-execws.spec
Normal file
40
kubectl-execws.spec
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: kubectl-execws
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: "Kubectl exec" that works over WebSocket connections
|
||||||
|
URL: https://github.com/jpts/kubectl-execws
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
|
||||||
|
%description
|
||||||
|
A replacement for "kubectl exec" that works over WebSocket
|
||||||
|
connections.
|
||||||
|
|
||||||
|
The Kubernetes API server has support for exec over
|
||||||
|
WebSockets, but it has yet to land in kubectl. Although
|
||||||
|
some proposals exist to add the functionality, they seem
|
||||||
|
quite far away from landing. This plugin is designed to
|
||||||
|
be a stopgap until they do.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
go build -o ./bin/%{name}
|
||||||
|
|
||||||
|
upx ./bin/%{name}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 ./bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
Loading…
Add table
Reference in a new issue