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 1 commit into
base: main
Choose a base branch
from

Conversation

jjaniec
Copy link

@jjaniec jjaniec commented Jun 5, 2024

Hi ! Just a small PR to allow us to customize the revisionHistoryLimit of the agents Deployment, thanks for your work :)

@@ -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 }}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing int cast, required constraint and and custom error message (like the above line).

@@ -126,6 +126,9 @@ tolerations: []
# Pod affinity configuration
affinity: {}

# Number of revisions to keep in the history of the Deployment
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Value to 0 will cause the inability to rollback. Can you specify the documentation link as note plus a warning?

https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy

@clemlesne clemlesne added the enhancement New feature or request label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants