Skip to content

Commit

Permalink
Add todos for auto rollback.
Browse files Browse the repository at this point in the history
Change minReady to 0
  • Loading branch information
alex4108 committed Sep 20, 2022
1 parent fb2e32f commit 0944e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
manifests: |
kube-manifest.yml
images: "alex4108/approova:${{needs.build.outputs.tag}}"
# TODO if deploy failed, `kubectl rollout undo Deployment/approovalive`
# TODO if deploy failed, don't create release.
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
Expand Down
1 change: 0 additions & 1 deletion kube-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ metadata:
name: approova-live
spec:
replicas: 1
minReadySeconds: 60
selector:
matchLabels:
name: approova-live
Expand Down

0 comments on commit 0944e68

Please sign in to comment.