1
0
forked from suse-edge/Factory

Import first batch of Edge 3.1 packages

Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
This commit is contained in:
2024-10-17 14:11:42 +02:00
parent fdcd84b482
commit 18bd432874
107 changed files with 5810 additions and 0 deletions

39
kubectl/kubectl.spec Normal file
View File

@@ -0,0 +1,39 @@
%global debug_package %{nil}
Name: kubectl-1303
Version: 1.30.3
Release: 0
Summary: Command-line utility for interacting with a Kubernetes cluster
%if "%{_vendor}" == "debbuild"
Group: admin
%endif
Packager: Kubernetes Authors <dev@kubernetes.io>
License: Apache-2.0
URL: https://kubernetes.io
Source0: kubectl_%{version}.orig.tar.gz
%description
%{summary}.
%prep
%setup -q -c
%build
# Nothing to build
%install
# Detect host arch
KUBE_ARCH="$(uname -m)"
# Install binaries
mkdir -p %{buildroot}%{_bindir}
install -p -m 755 ${KUBE_ARCH}/kubectl %{buildroot}%{_bindir}/kubectl
%files
%{_bindir}/kubectl
%license LICENSE
%doc README.md
%changelog