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-<version>') 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 <kaustubh.dhokte@windriver.com>
Change-Id: I46f7d9307f4254597557bb8be81ef471dcc7d73d
This commit is contained in:
Kaustubh Dhokte 2022-04-08 04:46:50 +00:00
parent c55c77ee88
commit 95cd66e67d
3 changed files with 8 additions and 2 deletions

View File

@ -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 <kaustubh.dhokte@opendev.org> Fri, 29 Apr 2022 00:20:53 +0000
kubernetes (1.21.8-1) unstable; urgency=medium
* Updated for stx debian packaging

View File

@ -1,4 +1,4 @@
Source: kubernetes
Source: kubernetes-1.21.8
Section: admin
Priority: optional
Maintainer: StarlingX Developers <StarlingX-discuss@lists.StarlingX.io>

View File

@ -1,4 +1,3 @@
debname: kubernetes
debver: 1.21.8
dl_path:
name: kubernetes-1.21.8.tar.gz