From 9ba4ca5f5b489bd8f30a3f017a745d2863af795b Mon Sep 17 00:00:00 2001 From: rotem-cf Date: Mon, 9 May 2022 09:54:21 +0300 Subject: [PATCH] release --- CHANGELOG.md | 4 ++++ Makefile | 2 +- docs/Getting-Started.md | 8 ++++++++ docs/releases/release_notes.md | 12 ++++++------ 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ef13650..e8ecd331 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog: +# v0.3.7 +* docs: fix edit url to use main branch (#300) +* adding --recover flag to bootstrap command for installing from an existing repo + # v0.3.6 * fixed extracting email from github token * support labels for bootstrap namespace diff --git a/Makefile b/Makefile index bd84f487..bd485da6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.3.6 +VERSION=v0.3.7 OUT_DIR=dist CLI_NAME?=argocd-autopilot diff --git a/docs/Getting-Started.md b/docs/Getting-Started.md index 117ad695..a11e583d 100644 --- a/docs/Getting-Started.md +++ b/docs/Getting-Started.md @@ -68,6 +68,14 @@ Execute the port forward command, and browse to http://localhost:8080. Log in us ![Step 1](assets/getting_started_1.png) +### Recovering Argo-cd from an existing repository +``` +argocd-autopilot repo bootstrap --recover \ + --app "github.com/git-user/repo-name/bootstrap" #optional +``` + +In case of a cluster failure, you can recover argo-cd from an existing repository using `--recover` flag. You can optionally use it with `--app` flag to specify the path to the existing argo-cd manifests. + ### Running Applications: * autopilot-bootstrap - References the `bootstrap` directory in the GitOps repository, and manages the other 2 applications * argo-cd - References the `bootstrap/argo-cd` folder, and manages the Argo CD deployment itself (including Argo CD ApplicationSet) diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 4f9f97b6..befc0e72 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -1,9 +1,9 @@ ### Changes -* fixed extracting email from github token -* support labels for bootstrap namespace +* docs: fix edit url to use main branch (#300) +* adding --recover flag to bootstrap command for installing from an existing repo ### Contributors: -- Noam Gal ([@noam-codefresh](https://github.com/noam-codefresh)) +- TAKAHASHI Shuuji ([@shuuji3](https://github.com/shuuji3)) - Rotem Cohen ([@rotem-codefresh](https://github.com/rotem-codefresh)) ## Installation: @@ -43,7 +43,7 @@ argocd-autopilot version ### Linux and WSL (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.3.6/argocd-autopilot-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.3.7/argocd-autopilot-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -55,7 +55,7 @@ argocd-autopilot version ### Mac (using curl): ```bash # download and extract the binary -curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.3.6/argocd-autopilot-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/argoproj-labs/argocd-autopilot/releases/download/v0.3.7/argocd-autopilot-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./argocd-autopilot-* /usr/local/bin/argocd-autopilot @@ -70,5 +70,5 @@ When using the Docker image, you have to provide the `.kube` and `.gitconfig` di docker run \ -v ~/.kube:/home/autopilot/.kube \ -v ~/.gitconfig:/home/autopilot/.gitconfig \ - -it quay.io/argoprojlabs/argocd-autopilot:v0.3.6 + -it quay.io/argoprojlabs/argocd-autopilot:v0.3.7 ```