Add unconditional Consul key delete 91/123291/3 1.1.1-consul-loader-container
authorJack Lucas <jflos@sonoris.net>
Fri, 13 Aug 2021 17:57:37 +0000 (13:57 -0400)
committerJack Lucas <jflos@sonoris.net>
Mon, 23 Aug 2021 16:59:54 +0000 (12:59 -0400)
commitc9ac0562f56d928c4ecbdcf5db4bfac34b2d9ff6
treeee6b0beb6d3a42e3ef01d60eac29e372d8d565b6
parent33f297d69913c9a0ae89bd37ab42ebba108f0dc5
Add unconditional Consul key delete

Add a script to consul-loader-container that
attempts to delete a Consul key and ignores
failures rather than looping indefinitely.
This will allow us to safely add a k8s Job
to each DCAE microservice's Helm chart to delete
the microservice's Consul configuration key when
the microservice is undeployed using Helm.

Issue-ID: DCAEGEN2-2669
Signed-off-by: Jack Lucas <jflos@sonoris.net>
Change-Id: I0e9534c4b488d3a3f7248434712900ed5b593489
consul-loader-container/Changelog.md
consul-loader-container/delete_key.sh [new file with mode: 0755]
consul-loader-container/pom.xml