Install kubectl cert-manager plugin

Details: We need this kubectl cert-manager plugin for
upgrade from 21.12 as we need to update cert manager
k8s app.

Test Plan:

PASS: built the iso, installed it and verified
      this plugin is installed

Depends-On:  https://review.opendev.org/c/starlingx/tools/+/870423

Task: 47159
Story: 2009303

Signed-off-by: Junfeng (Shawn) Li <junfeng.li@windriver.com>
Change-Id: I0bd03fae72683849c25bf3a264544b5e9310b617
This commit is contained in:
Junfeng (Shawn) Li 2023-01-11 07:02:42 -05:00
parent ff84782744
commit fd88bc4684
9 changed files with 85 additions and 0 deletions

View File

@ -169,6 +169,9 @@ k8s-pod-recovery
#k8s-cni-cache-cleanup #k8s-cni-cache-cleanup
k8s-cni-cache-cleanup k8s-cni-cache-cleanup
#kubectl-cert-manager
kubectl-cert-manager
# lvm2 # lvm2
dmeventd dmeventd
dmsetup dmsetup

View File

@ -68,6 +68,7 @@ kubernetes/kubernetes-1.23.1
kubernetes/kubernetes-1.24.4 kubernetes/kubernetes-1.24.4
kubernetes/kubernetes-unversioned kubernetes/kubernetes-unversioned
kubernetes/plugins/isolcpus-device-plugin kubernetes/plugins/isolcpus-device-plugin
kubernetes/plugins/kubectl-cert-manager
kubernetes/runc kubernetes/runc
ldap/ldapscripts ldap/ldapscripts
ldap/openldap ldap/openldap

View File

@ -0,0 +1,5 @@
kubectl-cert-manager (1.7.1-1) unstable; urgency=medium
* Initial release
-- Junfeng Li <junfeng.li@windriver.com> Tue, 19 Oct 2021 07:46:42 +0000

View File

@ -0,0 +1,12 @@
Source: kubectl-cert-manager
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.5.1
Homepage: https://www.starlingx.io
Package: kubectl-cert-manager
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Kubernetes Cert Manager Plugin

View File

@ -0,0 +1,28 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cert-manager
Upstream-Contact: https://github.com/cert-manager/
Source: https://github.com/cert-manager/cert-manager
Files: *
Copyright: (C) Copyright 2016 The Kubernetes Authors All Rights Reserved
License: Apache-2
Files: debian/*
Copyright: (c) 2023 Wind River Systems, Inc.
License: Apache-2
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.

View File

@ -0,0 +1 @@
/usr/sbin/kubectl-cert_manager

View File

@ -0,0 +1,21 @@
#!/usr/bin/make -f
# vim: set expandtab!
# export DH_VERBOSE = 1
export CERT_MANAGER_PKG = kubectl-cert-manager-linux-amd64.tar.gz
export ROOT = debian/tmp
export SBIN_DIR = $(ROOT)/usr/sbin
%:
dh $@
override_dh_auto_build:
# Extract the third party kubectl-cert-manager package downloaded in files folder
tar -xvf $(CERT_MANAGER_PKG)
override_dh_auto_install:
install -d -m 755 $(SBIN_DIR)
install -p -D -m 755 kubectl-cert_manager $(SBIN_DIR)
override_dh_usrlocal:
# Do Nothing

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,13 @@
---
debname: kubectl-cert-manager
debver: 1.7.1-1
src_path: null
dl_files:
kubectl-cert-manager-linux-amd64.tar.gz:
topdir: null
url: https://github.com/cert-manager/cert-manager/releases/download/v1.7.1/kubectl-cert_manager-linux-amd64.tar.gz
md5sum: 661909b84c3ef582a0d941f7ff3d9be7
sha256sum: f5a2741db8f5f5db4ab7ad041561b4c541a1ae35923053deadb0afb0e8c16cef
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true