diff --git a/infra/helm/meshdb/templates/meshweb.yaml b/infra/helm/meshdb/templates/meshweb.yaml index a10cf5f6..49ec2479 100644 --- a/infra/helm/meshdb/templates/meshweb.yaml +++ b/infra/helm/meshdb/templates/meshweb.yaml @@ -10,6 +10,7 @@ spec: selector: matchLabels: {{- include "meshdb.selectorLabels" . | nindent 6 }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: annotations: diff --git a/infra/helm/meshdb/templates/nginx.yaml b/infra/helm/meshdb/templates/nginx.yaml index 99f88455..c013e6bd 100644 --- a/infra/helm/meshdb/templates/nginx.yaml +++ b/infra/helm/meshdb/templates/nginx.yaml @@ -11,6 +11,7 @@ spec: selector: matchLabels: {{- include "meshdb.selectorLabels" . | nindent 6 }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: {{- with .Values.podAnnotations }} diff --git a/infra/helm/meshdb/templates/pelias.yaml b/infra/helm/meshdb/templates/pelias.yaml index 3bcef8f1..4533a07b 100644 --- a/infra/helm/meshdb/templates/pelias.yaml +++ b/infra/helm/meshdb/templates/pelias.yaml @@ -10,6 +10,7 @@ spec: selector: matchLabels: {{- include "meshdb.selectorLabels" . | nindent 6 }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: {{- with .Values.podAnnotations }} diff --git a/infra/helm/meshdb/templates/postgres.yaml b/infra/helm/meshdb/templates/postgres.yaml index 61b5f805..33510202 100644 --- a/infra/helm/meshdb/templates/postgres.yaml +++ b/infra/helm/meshdb/templates/postgres.yaml @@ -12,6 +12,7 @@ spec: {{- include "meshdb.selectorLabels" . | nindent 6 }} strategy: type: Recreate + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: {{- with .Values.podAnnotations }} diff --git a/infra/helm/meshdb/templates/redis.yaml b/infra/helm/meshdb/templates/redis.yaml index a5bbd623..04769568 100644 --- a/infra/helm/meshdb/templates/redis.yaml +++ b/infra/helm/meshdb/templates/redis.yaml @@ -10,6 +10,7 @@ spec: selector: matchLabels: {{- include "meshdb.selectorLabels" . | nindent 6 }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} template: metadata: annotations: diff --git a/infra/helm/meshdb/values.yaml b/infra/helm/meshdb/values.yaml index 1833b0ca..91174426 100644 --- a/infra/helm/meshdb/values.yaml +++ b/infra/helm/meshdb/values.yaml @@ -143,3 +143,5 @@ autoscaling: maxReplicas: 100 targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 + +revisionHistoryLimit: 4