diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-11-10 14:44:12 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-15 23:15:42 -0400 |
commit | af1690d85199505786b88340cc78f9754fd2b31c (patch) | |
tree | 328cc73d23f130cde0939be10f59acb6fabefbe3 /recipes-core/packagegroups/packagegroup-kubernetes.bb | |
parent | b1f5b022f4c7d9055805651ec2c7ffe156d26761 (diff) | |
download | meta-virtualization-af1690d85199505786b88340cc78f9754fd2b31c.tar.gz |
containers: add a base container and kubernetes base packagegroup
To make it easier to build container host or k*s host images (as
well as guests), we start to add some packagegroups that wrap the
required elements.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-core/packagegroups/packagegroup-kubernetes.bb')
-rw-r--r-- | recipes-core/packagegroups/packagegroup-kubernetes.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-core/packagegroups/packagegroup-kubernetes.bb b/recipes-core/packagegroups/packagegroup-kubernetes.bb new file mode 100644 index 00000000..ec528e08 --- /dev/null +++ b/recipes-core/packagegroups/packagegroup-kubernetes.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | SUMMARY = "packagegroups for various kubernets (and variants) roles" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
4 | |||
5 | inherit packagegroup | ||
6 | |||
7 | PACKAGES = "\ | ||
8 | packagegroup-kubernetes-base \ | ||
9 | packagegroup-k8s-host \ | ||
10 | packagegroup-k8s-node \ | ||
11 | packagegroup-k3s-host \ | ||
12 | packagegroup-k3s-node \ | ||
13 | " | ||
14 | |||
15 | KUBERNETES_CRI ?= "containerd" | ||
16 | |||
17 | RDEPENDS_packagegroup-kubernetes-base = " \ | ||
18 | packagegroup-${KUBERNETES_CRI} \ | ||
19 | packagegroup-oci \ | ||
20 | " | ||
21 | |||
22 | RDEPENDS_packagegroup-k8s-host = " \ | ||
23 | packagegroup-kubernetes-base \ | ||
24 | " | ||
25 | |||
26 | RDEPENDS_packagegroup-k8s-node = " \ | ||
27 | packagegroup-kubernetes-base \ | ||
28 | " | ||
29 | |||
30 | RDEPENDS_packagegroup-k3s-host = " \ | ||
31 | packagegroup-kubernetes-base \ | ||
32 | k3s-server \ | ||
33 | k3s-cni \ | ||
34 | " | ||
35 | |||
36 | RDEPENDS_packagegroup-k3s-node = " \ | ||
37 | packagegroup-kubernetes-base \ | ||
38 | k3s-agent \ | ||
39 | k3s-cni \ | ||
40 | " | ||