d2acaea1ef
This commit adds the kubernetes plugin kubectl cert manager to the iso. This is used to convert old v1alpha2 and v1alpha3 cert manager resources to v1 during a system upgrade. The plugin is not required for debian because there are no old cert manager resources to convert. Test Cases: PASS: Convert our default DC certificates and issuers using kubectl cert manager Change-Id: I59f1b0e4d5d6ece1ccef43fee1acacd7b7e44efd Story: 2009837 Task: 45372 Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
27 lines
686 B
RPMSpec
27 lines
686 B
RPMSpec
Summary: Cert-Manager Kubernetes plugin
|
|
|
|
Name: kubectl-cert-manager
|
|
Version: 1.7.1
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/kubectl-cert_manager-linux-amd64.tar.gz
|
|
|
|
Source0: kubectl-cert_manager-linux-amd64.tar.gz
|
|
|
|
%description
|
|
Cert-Manager Kubernetes plugin
|
|
|
|
%prep
|
|
cp %{SOURCE0} .
|
|
tar -xvf kubectl-cert_manager-linux-amd64.tar.gz
|
|
|
|
%install
|
|
install -d -m 755 %{buildroot}/usr/local/sbin
|
|
install -p -D -m 755 %{_builddir}/kubectl-cert_manager %{buildroot}/usr/local/sbin
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
/usr/local/sbin/kubectl-cert_manager
|