mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 20:56:42 +00:00
Merge pull request #667 from ArangoGutierrez/devel/clean-lables
Add deploy-prune makefile rule to ease devel processes
This commit is contained in:
commit
4bb2311b5e
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…
Add table
Reference in a new issue