mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Add clean-labels makefile rule to ease devel processes
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
This commit is contained in:
parent
c4af8a1229
commit
4791bd3a42
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -86,6 +86,14 @@ image: yamls
|
|||
$(foreach tag,$(IMAGE_EXTRA_TAGS),-t $(tag)-minimal) \
|
||||
$(IMAGE_BUILD_EXTRA_OPTS) ./
|
||||
|
||||
# clean NFD labels on all nodes
|
||||
# devel only
|
||||
deploy-prune:
|
||||
kubectl apply -k deployment/overlays/prune/
|
||||
kubectl wait --for=condition=complete job -l app=nfd -n node-feature-discovery
|
||||
kubectl delete -k deployment/overlays/prune/
|
||||
|
||||
|
||||
yamls:
|
||||
@./scripts/kustomize.sh $(K8S_NAMESPACE) $(IMAGE_REPO) $(IMAGE_TAG_NAME)
|
||||
|
||||
|
|
Loading…
Reference in a new issue