Skip to content

Commit

Permalink
updated README about container images side-loading
Browse files Browse the repository at this point in the history
  • Loading branch information
oboukili committed Jan 17, 2021
1 parent b791194 commit 8b27f4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,15 @@ make testacc
make testacc_clean_env
```

**Note:** to speed up testing environment setup, it is highly recommended you pull all needed container images into your local registry first, as the setup tries to sideload the images within the Kind cluster upon cluster creation.

For example if you use Docker as your local container runtime:
```shell
docker pull argoproj/argocd:v1.8.2
docker pull ghcr.io/dexidp/dex:v2.27.0
docker pull redis:5.0.10-alpine
```

---

## Credits
Expand Down
2 changes: 1 addition & 1 deletion scripts/testacc_prepare_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kubectl get services --all-namespaces -o wide

echo '--- Load already available container images from local registry into Kind (local development only)'
kind load docker-image redis:5.0.10-alpine --name argocd
kind load docker-image ghcr.io/dexidp/dex --name argocd
kind load docker-image ghcr.io/dexidp/dex:v2.27.0 --name argocd
kind load docker-image argoproj/argocd:${ARGOCD_VERSION:-v1.8.2} --name argocd

echo '--- Install ArgoCD ${ARGOCD_VERSION:-v1.6.1}\n\n'
Expand Down

0 comments on commit 8b27f4a

Please sign in to comment.