Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Helm] Add .Values.revisionHistoryLimit #243

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/helm/blue-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
matchLabels:
{{- include "blue-agent.selectorLabels" . | nindent 6 }}
replicas: {{ .Values.replicaCount | int | required "A value for .Values.replicaCount is required" }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
jjaniec marked this conversation as resolved.
Show resolved Hide resolved
strategy:
type: RollingUpdate
rollingUpdate:
Expand Down
3 changes: 3 additions & 0 deletions src/helm/blue-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ tolerations: []
# Pod affinity configuration
affinity: {}

# Number of revisions to keep in the history of the Deployment
jjaniec marked this conversation as resolved.
Show resolved Hide resolved
revisionHistoryLimit: 10

# Annotations for scheduling and security behaviors
#
# Example, to be used with img or BuildKit:
Expand Down