From 01d6019fca028906a5d4674a3a785b7851bb75e3 Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Wed, 17 Jun 2020 17:11:17 -0400 Subject: Remove plugin uploads from bootstrap container Update other blueprints Update blueprints for components loaded at boot time Move Consul service registrations out of bootstrap script (use Consul init container in OOM chart instead) Issue-ID: DCAEGEN2-1789 Issue-ID: DCAEGEN2-2237 Issue-ID: DCAEGEN2-2236 Signed-off-by: Jack Lucas Change-Id: I3532d21be3c520a63ca6176dc2c085665db0add8 --- scripts/uninstall.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/uninstall.sh') diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index 30dc2bf..ba198e5 100755 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -28,9 +28,6 @@ then CURLTLS="--cacert $CACERT" fi -# Leave the Consul cluster -/opt/consul/bin/consul leave - # Uninstall components managed by Cloudify # Get the list of deployment ids known to Cloudify via curl to Cloudify API. # The output of the curl is JSON that looks like {"items" :[{"id": "config_binding_service"}, ...], "metadata" :{...}} @@ -51,4 +48,3 @@ curl -Ss --user admin:$CMPASS -H "Tenant: default_tenant" ${CURLTLS} "$CMPROTO:/ curl -Ss --user admin:$CMPASS -H "Tenant: default_tenant" ${CURLTLS} "$CMPROTO://$CMADDR:$CMPORT/api/v3.1/plugins?_include=id" \ | /bin/jq .items[].id \ | xargs -I % sh -c 'cfy plugins delete %' - -- cgit 1.2.3-korg