mirror of https://github.com/linkerd/linkerd2.git
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:
parent
d03014aed6
commit
48e161f012
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue