Skip to content

Commit

Permalink
cdi CRDs need a label so they get cleaned up during make cluster-clean
Browse files Browse the repository at this point in the history
Signed-off-by: David Vossel <[email protected]>
  • Loading branch information
davidvossel committed Jan 21, 2019
1 parent 1e71f46 commit 0b05f89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ _kubectl get vmis --all-namespaces -o=custom-columns=NAME:.metadata.name,NAMESPA
_kubectl patch vmi $name -n $namespace --type=json -p '[{ "op": "remove", "path": "/metadata/finalizers" }]'
done

# Delete Namespaces created by us.
# Delete Namespaces created by us.
managed_namespaces=(${namespace} ${cdi_namespace})

# Delete all traces of kubevirt
Expand Down
2 changes: 2 additions & 0 deletions manifests/testing/cdi-v1.5.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: cdis.cdi.kubevirt.io
labels:
operator.cdi.kubevirt.io: ""
spec:
group: cdi.kubevirt.io
names:
Expand Down

0 comments on commit 0b05f89

Please sign in to comment.