From 69028be0b77212428cedbed2c64565e2b239ab48 Mon Sep 17 00:00:00 2001 From: jessebot Date: Fri, 25 Oct 2024 09:12:16 +0200 Subject: [PATCH 1/3] apply revision history param to all deployments --- charts/mastodon/Chart.yaml | 2 +- charts/mastodon/templates/deployment-sidekiq.yaml | 1 + charts/mastodon/templates/deployment-web.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/mastodon/Chart.yaml b/charts/mastodon/Chart.yaml index d4b686f..8d6edeb 100644 --- a/charts/mastodon/Chart.yaml +++ b/charts/mastodon/Chart.yaml @@ -9,7 +9,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 9.6.0 +version: 9.6.1 # renovate: image=ghcr.io/mastodon/mastodon appVersion: v4.3.1 diff --git a/charts/mastodon/templates/deployment-sidekiq.yaml b/charts/mastodon/templates/deployment-sidekiq.yaml index 0e2ee03..8257c49 100644 --- a/charts/mastodon/templates/deployment-sidekiq.yaml +++ b/charts/mastodon/templates/deployment-sidekiq.yaml @@ -21,6 +21,7 @@ spec: strategy: type: Recreate {{- end }} + revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }} replicas: {{ .replicas }} selector: matchLabels: diff --git a/charts/mastodon/templates/deployment-web.yaml b/charts/mastodon/templates/deployment-web.yaml index ad9111a..49ee159 100644 --- a/charts/mastodon/templates/deployment-web.yaml +++ b/charts/mastodon/templates/deployment-web.yaml @@ -9,6 +9,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }} replicas: {{ .Values.mastodon.web.replicas }} selector: matchLabels: From 0bc79639b4a02a241e8d7c59eb9cc8c3bff3660b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 25 Oct 2024 07:13:21 +0000 Subject: [PATCH 2/3] helm-docs: automated action --- charts/mastodon/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mastodon/README.md b/charts/mastodon/README.md index d4a440f..54ad663 100644 --- a/charts/mastodon/README.md +++ b/charts/mastodon/README.md @@ -1,6 +1,6 @@ # mastodon -![Version: 9.6.0](https://img.shields.io/badge/Version-9.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square) +![Version: 9.6.1](https://img.shields.io/badge/Version-9.6.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.3.1](https://img.shields.io/badge/AppVersion-v4.3.1-informational?style=flat-square) Mastodon is a free, open-source social network server based on ActivityPub. From 05bda156f4c7f4ff2d496ad3ee3564c134b40e8f Mon Sep 17 00:00:00 2001 From: jessebot Date: Fri, 25 Oct 2024 09:24:26 +0200 Subject: [PATCH 3/3] fix template deployment-sidekiq --- charts/mastodon/templates/deployment-sidekiq.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/mastodon/templates/deployment-sidekiq.yaml b/charts/mastodon/templates/deployment-sidekiq.yaml index 8257c49..6689ff3 100644 --- a/charts/mastodon/templates/deployment-sidekiq.yaml +++ b/charts/mastodon/templates/deployment-sidekiq.yaml @@ -21,7 +21,7 @@ spec: strategy: type: Recreate {{- end }} - revisionHistoryLimit: {{ .Values.mastodon.revisionHistoryLimit }} + revisionHistoryLimit: {{ $context.Values.mastodon.revisionHistoryLimit }} replicas: {{ .replicas }} selector: matchLabels: