From 592f341dd2e90095cfbd704ff7d66535da851d6f Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 12 Dec 2024 14:57:24 +0000 Subject: magnum: Add helm binary for magnum-cluster-api Closes-Bug: #2091608 Change-Id: I52105f6cbf7529ce107cabf8a38a10525be7435c --- docker/magnum/magnum-conductor/Dockerfile.j2 | 3 +++ kolla/common/sources.py | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/docker/magnum/magnum-conductor/Dockerfile.j2 b/docker/magnum/magnum-conductor/Dockerfile.j2 index 1cec96d27..640cf5d99 100644 --- a/docker/magnum/magnum-conductor/Dockerfile.j2 +++ b/docker/magnum/magnum-conductor/Dockerfile.j2 @@ -7,6 +7,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} +ADD plugins-archive / +RUN cp /plugins/linux-{{ debian_arch }}/helm /usr/local/bin/helm + {{ macros.kolla_patch_sources() }} {% block magnum_conductor_footer %}{% endblock %} diff --git a/kolla/common/sources.py b/kolla/common/sources.py index 71f741d4e..faaea980a 100644 --- a/kolla/common/sources.py +++ b/kolla/common/sources.py @@ -189,6 +189,14 @@ SOURCES = { 'type': 'url', 'location': ('$tarballs_base/openstack/magnum/' 'magnum-${openstack_branch}.tar.gz')}, + 'magnum-conductor-plugin-helm': { + 'version': 'v3.16.3', + 'type': 'url', + 'sha256': { + 'amd64': 'f5355c79190951eed23c5432a3b920e071f4c00a64f75e077de0dd4cb7b294ea', # noqa: E501 + 'arm64': '5bd34ed774df6914b323ff84a0a156ea6ff2ba1eaf0113962fa773f3f9def798'}, # noqa: E501 + 'location': ('https://get.helm.sh/helm' + '-${version}-linux-${debian_arch}.tar.gz')}, 'manila-base': { 'type': 'url', 'location': ('$tarballs_base/openstack/manila/' -- cgit v1.2.3