Skip to content

Commit

Permalink
feat(kubernetes-stateless-chart): allow to set Deployment.revisionHis…
Browse files Browse the repository at this point in the history
…toryLimit
  • Loading branch information
dshmelev committed Nov 21, 2024
1 parent 16a9b21 commit 013ec28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubernetes-stateless-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 013ec28

Please sign in to comment.