Skip to content

Commit

Permalink
Add rollback window and history settings
Browse files Browse the repository at this point in the history
this means rollbacks skip the canary process for the last 10 releases
  • Loading branch information
frankh committed Jan 29, 2024
1 parent c343eda commit c473d50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/posthog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 30.45.0
version: 30.46.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
3 changes: 3 additions & 0 deletions charts/posthog/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ spec:
maxSurge: {{ .Values.web.rollout.maxSurge }}
maxUnavailable: {{ .Values.web.rollout.maxUnavailable }}
{{- else if eq .Values.web.deployment.strategy "canary" }}
revisionHistoryLimit: 10
rollbackWindow:
revisions: 10
canary:
canaryService: {{ template "posthog.fullname" . }}-web-canary
stableService: {{ template "posthog.fullname" . }}-web
Expand Down

0 comments on commit c473d50

Please sign in to comment.