Skip to content

Commit 1c95498

Browse files
committed
Remove "flux-" from images with flux already in name
1 parent 5359a05 commit 1c95498

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GODIRS:=$(COMPONENTS) common
1313
CMD_DIRS:=cmd/fluxd web fluxctl balancer/cmd/balagent
1414

1515
image_stamp=docker/.$1.done
16-
docker_tag=$(PROJECT)-$1
16+
docker_tag=$(if $(filter flux%,$1),$(REPO)/$1,$(REPO)/flux-$1)
1717

1818
GO_SRCS:=$(shell find * -name vendor -prune -o -name "*.go" -print)
1919
GODIRS:=$(shell find * -name vendor -prune -o -name "*_test.go" -printf "%H\n" | sort -u)

bin/fluxctl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [[ -z "$ETCD_ADDRESS" ]]; then
77
fi
88
export ETCD_ADDRESS
99

10-
docker run --rm -e ETCD_ADDRESS weaveworks/flux-fluxctl "$@"
10+
docker run --rm -e ETCD_ADDRESS weaveworks/fluxctl "$@"

bin/run-flux

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eo pipefail
44

5-
DAEMON_IMAGE=weaveworks/flux-fluxd
5+
DAEMON_IMAGE=weaveworks/fluxd
66
DEFAULT_ETCD="http://127.0.0.1:2379"
77

88
start() {

site/daemon.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Flux daemon (`fluxd`) runs on each host, and does two things:
99
which containers are service instances;
1010
- it proxies connections to services, for any clients on the host
1111

12-
`fluxd` is available as the Docker image `weaveworks/flux-fluxd`.
12+
`fluxd` is available as the Docker image `weaveworks/fluxd`.
1313

1414
## Operating the daemon
1515

@@ -41,7 +41,7 @@ a Docker command to start the daemon looks like this:
4141
docker run -d --name "fluxd" --cap-add=NET_ADMIN --net=host \
4242
-e HOST_IP -e ETCD_ADDRESS \
4343
-v "/var/run/docker.sock:/var/run/docker.sock" \
44-
weaveworks/flux-fluxd
44+
weaveworks/fluxd
4545
```
4646

4747
The script `bin/run-flux` is essentially a wrapper for this

site/getstarted.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ deployment scripts, but we show them in full here:
6767
$ docker run --name=fluxd -d -e ETCD_ADDRESS \
6868
--net=host --cap-add=NET_ADMIN \
6969
-v /var/run/docker.sock:/var/run/docker.sock \
70-
weaveworks/flux-fluxd --host-ip $HOST_IP \
70+
weaveworks/fluxd --host-ip $HOST_IP \
7171
--listen-prometheus=:9000 --advertise-prometheus=$HOST_IP:9000
7272
```
7373

@@ -88,7 +88,7 @@ Flux is now running, and you can check this in Docker:
8888
```sh
8989
$ docker ps
9090
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
91-
27d30bc8ae4a weaveworks/flux-fluxd "/home/flux/fluxd --h" 3 seconds ago Up 3 seconds fluxd
91+
27d30bc8ae4a weaveworks/fluxd "/home/flux/fluxd --h" 3 seconds ago Up 3 seconds fluxd
9292
# ...
9393
```
9494

@@ -99,7 +99,7 @@ Now we'll actually use Flux! Once it's running, you control Flux with
9999
an alias, to avoid typing the `docker run ...` bit again and again:
100100

101101
```sh
102-
$ alias fluxctl="docker run --rm -e ETCD_ADDRESS weaveworks/flux-fluxctl"
102+
$ alias fluxctl="docker run --rm -e ETCD_ADDRESS weaveworks/fluxctl"
103103
```
104104

105105
To try it out, see what `fluxctl info` gives us:

0 commit comments

Comments
 (0)