From 95cd66e67d8d8eeb998d73d2a0fb12b5b991bbb3 Mon Sep 17 00:00:00 2001 From: Kaustubh Dhokte Date: Fri, 8 Apr 2022 04:46:50 +0000 Subject: [PATCH] Debian: Change k8s 1.21.8 package name This changes Debian package name for k8s 1.21.8 from "kubernetes" to "kubernetes-1.21.8". Until https://review.opendev.org/c/starlingx/integ/+/831343 is merged, version 1.21.8 is the only packaged version of kubernetes on StarlingX Debian. In future, multiple kubernetes versions will be supported on most, if not all, StarlingX releases. Currently, Debian build server uses the value of 'debname' parameter in the meta_data.yaml as the package name. 'debname' is an optional parameter in the meta_data.yaml. If not provided, it uses package dir name as the package name (kubernetes-1.21.8 in this case), which follows the preferred format ('kubernetes-') for naming different versions of kubernetes packages distinctly. Test Plan: PASS: Package builds successfully PASS: Image builds successfully. Story: 2009830 Task: 44638 Signed-off-by: Kaustubh Dhokte Change-Id: I46f7d9307f4254597557bb8be81ef471dcc7d73d --- kubernetes/kubernetes-1.21.8/debian/deb_folder/changelog | 7 +++++++ kubernetes/kubernetes-1.21.8/debian/deb_folder/control | 2 +- kubernetes/kubernetes-1.21.8/debian/meta_data.yaml | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/kubernetes/kubernetes-1.21.8/debian/deb_folder/changelog b/kubernetes/kubernetes-1.21.8/debian/deb_folder/changelog index 9c1b91b26..6a6704254 100644 --- a/kubernetes/kubernetes-1.21.8/debian/deb_folder/changelog +++ b/kubernetes/kubernetes-1.21.8/debian/deb_folder/changelog @@ -1,3 +1,10 @@ +kubernetes-1.21.8 (1.21.8-2) unstable; urgency=medium + + * Updated package name to be able to support multiple kubernetes versions on stx platform + + -- Kaustubh Dhokte Fri, 29 Apr 2022 00:20:53 +0000 + + kubernetes (1.21.8-1) unstable; urgency=medium * Updated for stx debian packaging diff --git a/kubernetes/kubernetes-1.21.8/debian/deb_folder/control b/kubernetes/kubernetes-1.21.8/debian/deb_folder/control index ad1020c00..3ecc6d89f 100644 --- a/kubernetes/kubernetes-1.21.8/debian/deb_folder/control +++ b/kubernetes/kubernetes-1.21.8/debian/deb_folder/control @@ -1,4 +1,4 @@ -Source: kubernetes +Source: kubernetes-1.21.8 Section: admin Priority: optional Maintainer: StarlingX Developers diff --git a/kubernetes/kubernetes-1.21.8/debian/meta_data.yaml b/kubernetes/kubernetes-1.21.8/debian/meta_data.yaml index e03275c1a..785c1830e 100644 --- a/kubernetes/kubernetes-1.21.8/debian/meta_data.yaml +++ b/kubernetes/kubernetes-1.21.8/debian/meta_data.yaml @@ -1,4 +1,3 @@ -debname: kubernetes debver: 1.21.8 dl_path: name: kubernetes-1.21.8.tar.gz