Alright, this is really part of the v0.0.2 tagged release of the vnf-asterisk-controller -- it's kind of crude, but, it does the trick for now, the gist is that it uses an entrypoint script to talk to etcd, and uses environment variables to tell it where etcd is.
The way forward that's "the right way" is probably to use a Kubernetes job to do this when the pod is created.
Alright, this is really part of the v0.0.2 tagged release of the vnf-asterisk-controller -- it's kind of crude, but, it does the trick for now, the gist is that it uses an entrypoint script to talk to etcd, and uses environment variables to tell it where etcd is.
The way forward that's "the right way" is probably to use a Kubernetes job to do this when the pod is created.