Skip to content

Commit

Permalink
Fix blue-gree example instructions (argoproj#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt authored and dthomson25 committed Apr 9, 2019
1 parent 3f461c3 commit 90ff684
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ to explore ArgoCD and GitOps!
| [kustomize2-guestbook](kustomize-guestbook/) | The guestbook application as a Kustomize 2 app |
| [pre-post-sync](pre-post-sync/) | Demonstrates Argo CD PreSync and PostSync hooks |
| [helm-dependency](helm-dependency/) | Demonstrates how to customize an OTS (off-the-shelf) helm chart from an upstream repo |
| [blue-green-deploy](blue-green-deploy/) | Demonstrates an Argo CD Sync hook which performs a blue/green deployment |
| [sock-shop](sock-shop/) | A microservices demo application (https://microservices-demo.github.io) |
| [plugins](plugins/) | Applications which demonstrate config management plugins usage |
| [blue-green](blue-green/) | Demonstrates how to implement blue-green deployment using [Argo Rollouts](https://github.com/argoproj/argo-rollouts)
2 changes: 1 addition & 1 deletion blue-green/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The `ks-guestbook-demo:0.2` is still considered `blue` available only via previe
4. Promote `ks-guestbook-demo:0.2` to `green` by patching `Rollout` resource:

```
argocd app patch-resource blue-green --kind Rollout --resource-name blue-green-helm-guestbook --patch '{ "spec": { "paused": false } }' --patch-type 'application/merge-patch+json'
argocd app patch-resource blue-green --kind Rollout --resource-name blue-green-helm-guestbook --patch '{ "status": { "verifyingPreview": false } }' --patch-type 'application/merge-patch+json'
```

This promotes `ks-guestbook-demo:0.2` to `green` status and `Rollout` deletes old replica which runs `ks-guestbook-demo:0.1`.

0 comments on commit 90ff684

Please sign in to comment.