Skip to content

Commit

Permalink
Deployment: Implement revisionHistoryLimit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Mar 14, 2023
1 parent be84db3 commit 3ad420a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s
- Deployment: Include `isControllerTagValid`.
- Deployment: Implement `controller.labels`.
- Deployment: Implement `controller.annotations`.
- Deployment: Implement `revisionHistoryLimit`.

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
{{- if not .Values.controller.autoscaling.enabled }}
replicas: {{ .Values.controller.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
strategy:
type: RollingUpdate
rollingUpdate:
Expand Down
3 changes: 3 additions & 0 deletions helm/nginx-ingress-controller-app/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,9 @@
}
}
},
"revisionHistoryLimit": {
"type": "integer"
},
"serviceAccount": {
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions helm/nginx-ingress-controller-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,9 @@ initContainer:
userID: 1000
groupID: 1000

# -- Rollback limit
##
revisionHistoryLimit: 10
## Default 404 backend
##
defaultBackend:
Expand Down

0 comments on commit 3ad420a

Please sign in to comment.