Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
add make-target to update your deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed Jul 16, 2017
1 parent 14531b6 commit e778239
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ push:
docker push $(TAG_GIT)
docker push $(TAG_LATEST)

update-deployment:
kubectl set image --namespace=kube-system deployment/hostpath-provisioner hostpath-provisioner=$(TAG_GIT)

dependencies:
glide install -v

Expand All @@ -37,4 +40,4 @@ clean:
rm -rf vendor
rm hostpath-provisioner

.PHONY: all clean image push dependencies
.PHONY: all clean image push dependencies update-deployment

0 comments on commit e778239

Please sign in to comment.