From 6545b1fe69a835bf7b7d2664ed6cc24f138486b4 Mon Sep 17 00:00:00 2001 From: Yilong Ren Date: Wed, 17 Jun 2020 16:23:11 +0800 Subject: [PATCH] docs: update development.md current Makefile have no "container" target, now use "image" target to build local image and also have no "push" target --- docs/development.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/development.md b/docs/development.md index fc6e4300e..20bd35f70 100644 --- a/docs/development.md +++ b/docs/development.md @@ -29,7 +29,7 @@ $ make dev-env The nginx controller container image can be rebuilt using: ``` -$ ARCH=amd64 TAG=dev REGISTRY=$USER/ingress-controller make build container +$ ARCH=amd64 TAG=dev REGISTRY=$USER/ingress-controller make build image ``` The image will only be used by pods created after the rebuild. To delete old pods which will cause new ones to spin up: @@ -97,13 +97,7 @@ $ make build Build a local container image ```console -$ TAG= REGISTRY=$USER/ingress-controller make container -``` - -Push the container image to a remote repository - -```console -$ TAG= REGISTRY=$USER/ingress-controller make push +$ TAG= REGISTRY=$USER/ingress-controller make image ``` ## Deploying