tree: 4c360411a5c3259a502ef12b1aabc7891e1bf867 [path history] [tgz]
  1. Changelog.md
  2. consul_store.sh
  3. delete_key.sh
  4. Dockerfile
  5. pom.xml
  6. README.md
  7. yaml2json.py
consul-loader-container/README.md

DCAE Consul Loader Container

The Dockerfile in this directory builds an image that can be used to spin up a container (typical a Kubernetes init container) that can load service registrations and key-value pairs into a Consul instance. This capability supports moving certain DCAE platform components from deployment using a Cloudify blueprint and the ONAP Kubernetes plugin to a Helm-based deployment. An init container can do the Consul setup previously handled by the ONAP Kubernetes plugin and the ONAP DCAE bootstrap script.

The entrypoint for the container is the script consul_store.sh. See the documentation for consul_store.sh to see how to provide arguments to the script as well as how to use environment variables to set the Consul API protocol, host, and port.

Note that the container runs the script to completion. It is not intended to be a long-running service.