mirror of https://github.com/linkerd/linkerd2.git
A few small improvements to our docker build scripts: * Centralized the list of docker images to a DOCKER_IMAGES variable defined in _docker.sh * Build scripts now honor the TAG variable, if defined * Unused docker-images script has been removed We also update the `--control-plane-version` Linkerd install flag to affect the policy controller version as well. Taken together, this enables the following workflow for building and deploying changes to individual Linkerd components. For example, suppose you wish to deploy changes which only affect the controller image: ```console # Begin by building all images at main with a dev tag > TAG=alex-dev bin/docker-build # OR begin by retagging all images from a recent release > bin/docker-retag-all edge-21.8.4 alex-dev # Make changes and then rebuild specific component > TAG=alex-dev bin/docker-build-controller # Load images into kind > TAG=alex-dev bin/image-load --kind --cluster alex # Install Linkerd > bin/linkerd install --control-plane-version alex-dev --proxy-version alex-dev | k apply -f - ``` Signed-off-by: Alex Leong <alex@buoyant.io> |
||
|---|---|---|
| .. | ||
| cmd | ||
| flag | ||
| table | ||
| Dockerfile | ||
| main.go | ||