File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1717NAME := k8s-custom-iptables
1818SRCS := run.sh
1919
20- TAG ?= 1.0
21- REGISTRY =gcr.io/google_containers
20+ TAG ?= 1.2
21+ REGISTRY =bisontrails
2222IMAGE := $(REGISTRY ) /$(NAME ) :$(TAG )
2323
2424ifeq ($(REGISTRY ) ,)
2828all : push
2929
3030push : image
31- gcloud docker -- push $(IMAGE )
31+ docker -- push $(IMAGE )
3232
3333image : Dockerfile $(SRCS )
3434 docker build -f Dockerfile -t $(IMAGE ) .
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ update_nat() {
4040 if ${IPTABLES} -t nat -C POSTROUTING -d ${subnet} \
4141 -m comment --comment " ${comment} " -j MASQUERADE -w ${WAIT_INTERVAL} \
4242 2> /dev/null; then
43- log " NAT rule ${comment} is installed"
4443 return
4544 fi
4645 fi
@@ -103,4 +102,4 @@ main() {
103102 done
104103}
105104
106- main
105+ main
You can’t perform that action at this time.
0 commit comments