summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2019-12-10 02:25:21 -0500
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-12-10 02:25:21 -0500
commitc31e46fce79f32a6692358105e15d77c652a9c9a (patch)
tree09f2ee4ebf441f8332531c59aa51d22b0ef61e9e /classes
parent06ec74ad35999fb87b2be950ead67815d59fbf63 (diff)
downloadmeta-virtualization-c31e46fce79f32a6692358105e15d77c652a9c9a.tar.gz
conf: add k8s distro feature
Add support for a new distro feature to control kubernetes versions and related configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/meta-virt-k8s-cfg.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/meta-virt-k8s-cfg.bbclass b/classes/meta-virt-k8s-cfg.bbclass
new file mode 100644
index 00000000..1be0a5c8
--- /dev/null
+++ b/classes/meta-virt-k8s-cfg.bbclass
@@ -0,0 +1,6 @@
1# We need to load the meta-virt config components, only if "k8s"
2# is in the distro features. Since we don't know the distro flags during
3# layer.conf load time, we delay using a special bbclass that simply includes
4# the K8S_CONFIG_PATH file.
5
6include ${K8S_CONFIG_PATH}