diff --git a/charts/kubernetes-stateless-chart/Chart.yaml b/charts/kubernetes-stateless-chart/Chart.yaml index 854027e..49c9df6 100644 --- a/charts/kubernetes-stateless-chart/Chart.yaml +++ b/charts/kubernetes-stateless-chart/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubernetes-stateless-chart description: A Generic Helm chart for a stateless Kubernetes application type: application -version: 0.1.2 +version: 0.1.3 appVersion: 1.0.0 icon: https://avatars.githubusercontent.com/u/878437?s=200&v=4 home: https://jetbrains.com/ diff --git a/charts/kubernetes-stateless-chart/templates/deployment/manifest.yaml b/charts/kubernetes-stateless-chart/templates/deployment/manifest.yaml index e86fb2d..247d8c7 100644 --- a/charts/kubernetes-stateless-chart/templates/deployment/manifest.yaml +++ b/charts/kubernetes-stateless-chart/templates/deployment/manifest.yaml @@ -109,6 +109,12 @@ spec: */}} strategy: {{- include "app.deploymentStrategy" . | nindent 4 }} replicas: {{ .Values.replicaCount }} + {{/* + revisionHistoryLimit is the maximum number of revisions that will be maintained in the Deployment's revision history. + The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. + The default value is 10. + */}} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} {{/* PodTemplateSpec describes the data a pod should have when created from a template. In short this is a wrapper for the PodSpec object. The PodSpec represents the actual