Add support for revisionHistoryLimit
What does this MR do?
Add support for spec.revisionHistoryLimit
(doc)
Why was this MR needed?
The Deployment currently uses Kubernetes default value, which is 10. The value should be configurable for rollbacks and/or people who want to maintain a clean namespace.
What's the best way to test this MR?
- Set the value to 1
- Rollout a change to the setup
- Run
kubectl get rs
and ensure that there is only one entry forgitlab-runner-xyz