Skip to content

Commit 48c9f33

Browse files
committed
Makefile of NGINX controller pushes the image to DockerHub
1 parent c7cce5f commit 48c9f33

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Prerequisites
44

55
* Kubernetes 1.2 (TSL support for Ingress has been added in 1.2)
6-
* You've built and made available in your cluster [NGINX](https://github.com/nginxinc/kubernetes-ingress/tree/master/nginx-controller)
7-
or [NGINX Plus](https://github.com/nginxinc/kubernetes-ingress/tree/master/nginx-plus-controller) Controller images and changed
8-
the container image field in ```nginx-ingress-rc.yaml``` or ```nginx-plus-ingress-rc.yaml``` files accordingly.
6+
* For NGINX Plus: you've built and made available in your cluster
7+
[NGINX Plus](https://github.com/nginxinc/kubernetes-ingress/tree/master/nginx-plus-controller) Controller
8+
image and updated the container image field in the ```nginx-plus-ingress-rc.yaml``` file accordingly.
99

1010
## Running the examples
1111

examples/nginx-ingress-rc.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ spec:
1414
app: nginx-ingress
1515
spec:
1616
containers:
17-
- image: gcr.io/nginx-ingress/nginx-ingress:0.1
17+
- image: nginxdemos/nginx-ingress:0.1
1818
imagePullPolicy: Always
1919
name: nginx-ingress
2020
ports:
2121
- containerPort: 80
2222
hostPort: 80
2323
- containerPort: 443
2424
hostPort: 443
25-

nginx-controller/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: push
22

33
TAG = 0.1
4-
PREFIX = gcr.io/nginx-ingress/nginx-ingress
4+
PREFIX = nginxdemos/nginx-ingress
55

66
nginx-ingress:
77
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o nginx-ingress *.go
@@ -10,7 +10,7 @@ container: nginx-ingress
1010
docker build -t $(PREFIX):$(TAG) .
1111

1212
push: container
13-
gcloud docker push $(PREFIX):$(TAG)
13+
docker push $(PREFIX):$(TAG)
1414

1515
osx:
1616
CGO_ENABLED=0 GOOS=darwin godep go build -a -installsuffix cgo -ldflags '-w' -o osx-nginx-ingress *.go

nginx-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# NGINX Ingress Controller
22

3-
The latest version of the controller is available through [Docker Hub](#).
3+
The latest version of the controller is available through [Docker Hub](https://hub.docker.com/r/nginxdemos/nginx-ingress/).

0 commit comments

Comments
 (0)