Revert CRD deletion in integration test-cleanup (#2399)

linkerd/linkerd#2349 introduced ServiceProfile CRD deletion to
`bin/test-cleanup`. Unfortunately that CRD is cluster-wide and shared
across any Linkerd's currently installed.

Revert CRD deletion.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
This commit is contained in:
Andrew Seigner 2019-02-26 16:37:17 -08:00 committed by GitHub
parent d03014aed6
commit 48e161f012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -28,9 +28,3 @@ if ! clusterroles=$(kubectl get clusterroles -oname | grep -E "/linkerd-$linkerd
else
kubectl delete $clusterroles
fi
if ! crd=$(kubectl get crd/serviceprofiles.linkerd.io -oname); then
echo "no serviceprofile crd found for [$linkerd_namespace]" >&2
else
kubectl delete $crd
fi