Skip to content

Commit

Permalink
Move revisionHistoryLimit in globals
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 21, 2022
1 parent e7f0ed7 commit a5bea8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
{{- include "common.metadata" ( dict "root" . "service" .Values ) | nindent 2 }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit | default 3 }}
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit | default 3 }}
strategy:
type: RollingUpdate
selector:
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
global:
image:
pullPolicy: IfNotPresent
revisionHistoryLimit: 3

nameOverride: ''
fullnameOverride: ''

imagePullSecrets: []
replicaCount: 1
revisionHistoryLimit: 3

# ConfigMap or secret from env name override
configMapNameOverride: {}
Expand Down

0 comments on commit a5bea8f

Please sign in to comment.