For information about the functionality provided by the Acumos adapter and about the adapter's architecture, see this overview.
...
- Download the Acumos adapter Helm chart from (TBD).
- Populate the dependencies for the chart by entering the chart directory and executing
helm dep up
Create a YAML file containing information about the Docker registry and the Acumos instance that the adapter will use. The table below shows the properties that must be in this file.
Property Name Description dockerUser
User name to be used by the adapter to push images to the Docker registry dockerPass
Password to be used by the adapter to push images to the Docker registry dockerTargetRegistry
Address of the Docker registry where the adapter will push images, in the format host_name:port
acumosCert
The certificate information needed for the adapter to authenticate itself to the Acumos instance, in PEM format. The information contains the following elements, in this order: - The unencrypted private key associated with the certificate
- The client certificate
- If the certificate has been signed by one or more intermediate certificate authorities, the intermediate certificate authority certificates
Note that this property is a multi-line string in YAML.
Here is an example of the file, with some sensitive information truncated or omitted.
dockerUser: example-user
dockerPass: example-pass
dockerTargetRegistry: nexus.example.com:18448
acumosCert: |
-----BEGIN PRIVATE KEY-----
MII...
(remainder of private key)-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MII...
(remainder of client certificate)-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MII...
(remainder of intermediate CA certificate)-----END CERTIFICATE-----
- Deploy the Acumos adapter using helm:
helm install -n helm_release_name --namespace namespace_of_running_onap_instance -f /path/to/yaml_file /path/to/acumos_adapter_chart_directory
For example:Helm release name: testadapt
YAML file with docker & cert info: ~/acumos-adapter-demo/overrides.yaml
Namespace of running ONAP instance: onap
Executing in the directory holding the Acumos adapter Helm charthelm install -n testadapt --namespace onap -f ~/acumos-adapter-demo/overrides.yaml .