diff --git a/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml b/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml index 251c08f9..a714a431 100644 --- a/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml +++ b/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml @@ -11,6 +11,7 @@ metadata: {{- include "kyvernoplugin.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} {{- if .Values.deploymentStrategy }} strategy: {{- toYaml .Values.deploymentStrategy | nindent 4 }} diff --git a/charts/policy-reporter/charts/kyvernoPlugin/values.yaml b/charts/policy-reporter/charts/kyvernoPlugin/values.yaml index 547a732d..a2e3112f 100644 --- a/charts/policy-reporter/charts/kyvernoPlugin/values.yaml +++ b/charts/policy-reporter/charts/kyvernoPlugin/values.yaml @@ -10,6 +10,8 @@ priorityClassName: "" replicaCount: 1 +revisionHistoryLimit: 10 + deploymentStrategy: {} # rollingUpdate: # maxSurge: 25% diff --git a/charts/policy-reporter/charts/ui/templates/deployment.yaml b/charts/policy-reporter/charts/ui/templates/deployment.yaml index 30dbbe64..9100cad5 100644 --- a/charts/policy-reporter/charts/ui/templates/deployment.yaml +++ b/charts/policy-reporter/charts/ui/templates/deployment.yaml @@ -7,6 +7,7 @@ metadata: {{- include "ui.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} {{- if .Values.deploymentStrategy }} strategy: {{- toYaml .Values.deploymentStrategy | nindent 4 }} diff --git a/charts/policy-reporter/charts/ui/values.yaml b/charts/policy-reporter/charts/ui/values.yaml index ec7067ef..b757617c 100644 --- a/charts/policy-reporter/charts/ui/values.yaml +++ b/charts/policy-reporter/charts/ui/values.yaml @@ -108,6 +108,8 @@ imagePullSecrets: [] replicaCount: 1 +revisionHistoryLimit: 10 + deploymentStrategy: {} # rollingUpdate: # maxSurge: 25% diff --git a/charts/policy-reporter/templates/deployment.yaml b/charts/policy-reporter/templates/deployment.yaml index 0dfabd21..b1d67496 100644 --- a/charts/policy-reporter/templates/deployment.yaml +++ b/charts/policy-reporter/templates/deployment.yaml @@ -11,6 +11,7 @@ metadata: {{- end }} spec: replicas: {{ .Values.replicaCount }} + revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} {{- if .Values.deploymentStrategy }} strategy: {{- toYaml .Values.deploymentStrategy | nindent 4 }} diff --git a/charts/policy-reporter/values.yaml b/charts/policy-reporter/values.yaml index 43069ccf..fd094547 100644 --- a/charts/policy-reporter/values.yaml +++ b/charts/policy-reporter/values.yaml @@ -13,6 +13,8 @@ priorityClassName: "" replicaCount: 1 +revisionHistoryLimit: 10 + deploymentStrategy: {} # rollingUpdate: # maxSurge: 25%