diff --git a/debian_iso_image.inc b/debian_iso_image.inc index d61f49f55..cc4f0a602 100644 --- a/debian_iso_image.inc +++ b/debian_iso_image.inc @@ -169,6 +169,9 @@ k8s-pod-recovery #k8s-cni-cache-cleanup k8s-cni-cache-cleanup +#kubectl-cert-manager +kubectl-cert-manager + # lvm2 dmeventd dmsetup diff --git a/debian_pkg_dirs b/debian_pkg_dirs index 5c8b05b20..37a32a069 100644 --- a/debian_pkg_dirs +++ b/debian_pkg_dirs @@ -68,6 +68,7 @@ kubernetes/kubernetes-1.23.1 kubernetes/kubernetes-1.24.4 kubernetes/kubernetes-unversioned kubernetes/plugins/isolcpus-device-plugin +kubernetes/plugins/kubectl-cert-manager kubernetes/runc ldap/ldapscripts ldap/openldap diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/changelog b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/changelog new file mode 100644 index 000000000..5f0c53cd6 --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +kubectl-cert-manager (1.7.1-1) unstable; urgency=medium + + * Initial release + + -- Junfeng Li Tue, 19 Oct 2021 07:46:42 +0000 diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/control b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/control new file mode 100644 index 000000000..d2288cb64 --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/control @@ -0,0 +1,12 @@ +Source: kubectl-cert-manager +Section: admin +Priority: optional +Maintainer: StarlingX Developers +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 diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/copyright b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/copyright new file mode 100644 index 000000000..b810675cb --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/copyright @@ -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'. diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/kubectl-cert-manager.install b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/kubectl-cert-manager.install new file mode 100644 index 000000000..37766b55f --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/kubectl-cert-manager.install @@ -0,0 +1 @@ +/usr/sbin/kubectl-cert_manager \ No newline at end of file diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/rules b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/rules new file mode 100644 index 000000000..6060bda9b --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/rules @@ -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 \ No newline at end of file diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/source/format b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/kubernetes/plugins/kubectl-cert-manager/debian/meta_data.yaml b/kubernetes/plugins/kubectl-cert-manager/debian/meta_data.yaml new file mode 100644 index 000000000..02252fbff --- /dev/null +++ b/kubernetes/plugins/kubectl-cert-manager/debian/meta_data.yaml @@ -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