commit | 1a3848ed086c8a638b7b6db78a2a92c012de88ec | [log] [tgz] |
---|---|---|
author | Joanna Jeremicz <joanna.jeremicz@nokia.com> | Thu Jul 22 11:03:01 2021 +0200 |
committer | Joanna Jeremicz <joanna.jeremicz@nokia.com> | Thu Jul 22 11:04:08 2021 +0200 |
tree | bf336bdbcb40c6f342a23411b9e8ca0eb0190762 | |
parent | 21842df238a41d0edd2b1527286ce24cea2b1f04 [diff] |
Release 3.3.0 bootstrap container Issue-ID: DCAEGEN2-2804 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ieda6f3ef44af76276271c2377541a9bbc5d47d95
This repository holds the source code needed to build the Docker image for the DCAE bootstrap container. The bootstrap container runs at DCAE deployment time (via a Helm chart) and does initial setup of the DCAE environment.
This repository also holds Cloudify blueprints for service components. The Docker build process copies these blueprints into the Docker image for the bootstrap container.
Note: Prior to the Frankfurt release (R6), this repository held blueprint templates for components deployed using Cloudify Manager. The build process for this repository expanded the templates and pushed them to the Nexus raw repository. The DCAE bootstrap container was hosted in the dcaegen2.deployments
repository. The Docker build process for the bootstrap containter image pulled the blueprints it needed from the Nexus raw repository.
This container is responsible for loading blueprints onto the DCAE inventory component. It also provides an environment for debugging any issues related to Cloudify deployments, since it has the Cloudify "cfy" command line tool available.
The Docker image build process loads blueprints into the image's file system. The blueprints are copied from the blueprints
directory in this repository. At run time, the main script in the container (bootstrap.sh
) uploads the blueprints to the DCAE inventory component.
The container expects to be started with two environment variables:
CMADDR
-- the address of the target Cloudify ManagerCMPASS
-- the password for Cloudify ManagerThe container expects input files to use when deploying the blueprints. It expects to find them in /inputs. The normal method for launching the container is via a Helm Chart launched by OOM. That chart creates a Kubernetes ConfigMap containing the input files. The ConfigMap is mounted as a volume at /inputs.