From abafde59e70db51b77fd44f7f43339e688ad0e82 Mon Sep 17 00:00:00 2001 From: Arvind Prabhakar Date: Sun, 6 Sep 2026 19:59:03 +0000 Subject: [PATCH] Limit deployment revision history --- charts/forgejo/templates/deployment.yaml | 1 + charts/leantime/templates/deployment.yaml | 1 + charts/pgadmin/templates/deployment.yaml | 1 + charts/phpmyadmin/templates/deployment.yaml | 1 + charts/symcrest-web/templates/deployment.yaml | 1 + rendered/forgejo/forgejo.yaml | 1 + rendered/leantime/leantime.yaml | 1 + rendered/pgadmin/pgadmin.yaml | 1 + rendered/phpmyadmin/phpmyadmin.yaml | 1 + rendered/symcrest-web/symcrest-web.yaml | 1 + 10 files changed, 10 insertions(+) diff --git a/charts/forgejo/templates/deployment.yaml b/charts/forgejo/templates/deployment.yaml index 7f7f903..2c6a1d5 100644 --- a/charts/forgejo/templates/deployment.yaml +++ b/charts/forgejo/templates/deployment.yaml @@ -4,6 +4,7 @@ metadata: name: forgejo namespace: {{ .Values.namespace }} spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/charts/leantime/templates/deployment.yaml b/charts/leantime/templates/deployment.yaml index f52c007..63633bc 100644 --- a/charts/leantime/templates/deployment.yaml +++ b/charts/leantime/templates/deployment.yaml @@ -4,6 +4,7 @@ metadata: name: leantime namespace: {{ .Values.namespace }} spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/charts/pgadmin/templates/deployment.yaml b/charts/pgadmin/templates/deployment.yaml index e02a213..9ee1f44 100644 --- a/charts/pgadmin/templates/deployment.yaml +++ b/charts/pgadmin/templates/deployment.yaml @@ -4,6 +4,7 @@ metadata: name: pgadmin namespace: {{ .Values.namespace }} spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/charts/phpmyadmin/templates/deployment.yaml b/charts/phpmyadmin/templates/deployment.yaml index 8632a00..0335b35 100644 --- a/charts/phpmyadmin/templates/deployment.yaml +++ b/charts/phpmyadmin/templates/deployment.yaml @@ -4,6 +4,7 @@ metadata: name: phpmyadmin namespace: {{ .Values.namespace }} spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/charts/symcrest-web/templates/deployment.yaml b/charts/symcrest-web/templates/deployment.yaml index cb03f45..ea07e2c 100644 --- a/charts/symcrest-web/templates/deployment.yaml +++ b/charts/symcrest-web/templates/deployment.yaml @@ -4,6 +4,7 @@ metadata: name: symcrest-web namespace: {{ .Values.namespace }} spec: + revisionHistoryLimit: 3 replicas: {{ .Values.replicaCount }} selector: matchLabels: diff --git a/rendered/forgejo/forgejo.yaml b/rendered/forgejo/forgejo.yaml index 20b2ab5..19becef 100644 --- a/rendered/forgejo/forgejo.yaml +++ b/rendered/forgejo/forgejo.yaml @@ -38,6 +38,7 @@ metadata: name: forgejo namespace: forgejo spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/rendered/leantime/leantime.yaml b/rendered/leantime/leantime.yaml index 5edf1ee..beb8aea 100644 --- a/rendered/leantime/leantime.yaml +++ b/rendered/leantime/leantime.yaml @@ -62,6 +62,7 @@ metadata: name: leantime namespace: leantime spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/rendered/pgadmin/pgadmin.yaml b/rendered/pgadmin/pgadmin.yaml index 3a59686..a7d05ca 100644 --- a/rendered/pgadmin/pgadmin.yaml +++ b/rendered/pgadmin/pgadmin.yaml @@ -35,6 +35,7 @@ metadata: name: pgadmin namespace: pgadmin spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/rendered/phpmyadmin/phpmyadmin.yaml b/rendered/phpmyadmin/phpmyadmin.yaml index a4bbf9c..d3f8849 100644 --- a/rendered/phpmyadmin/phpmyadmin.yaml +++ b/rendered/phpmyadmin/phpmyadmin.yaml @@ -34,6 +34,7 @@ metadata: name: phpmyadmin namespace: phpmyadmin spec: + revisionHistoryLimit: 3 replicas: 1 selector: matchLabels: diff --git a/rendered/symcrest-web/symcrest-web.yaml b/rendered/symcrest-web/symcrest-web.yaml index 4f701a0..5d3110f 100644 --- a/rendered/symcrest-web/symcrest-web.yaml +++ b/rendered/symcrest-web/symcrest-web.yaml @@ -21,6 +21,7 @@ metadata: name: symcrest-web namespace: apps spec: + revisionHistoryLimit: 3 replicas: 2 selector: matchLabels: