diff --git a/charts/matrix/Chart.yaml b/charts/matrix/Chart.yaml index 5fe6b677..92c526c9 100644 --- a/charts/matrix/Chart.yaml +++ b/charts/matrix/Chart.yaml @@ -8,7 +8,7 @@ sources: type: application -version: 17.0.1 +version: 17.1.0 # renovate: image=matrixdotorg/synapse appVersion: v1.117.0 diff --git a/charts/matrix/README.md b/charts/matrix/README.md index b0c5370f..6e5091d0 100644 --- a/charts/matrix/README.md +++ b/charts/matrix/README.md @@ -1,6 +1,6 @@ # matrix -![Version: 17.0.1](https://img.shields.io/badge/Version-17.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.117.0](https://img.shields.io/badge/AppVersion-v1.117.0-informational?style=flat-square) +![Version: 17.1.0](https://img.shields.io/badge/Version-17.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.117.0](https://img.shields.io/badge/AppVersion-v1.117.0-informational?style=flat-square) A Helm chart to deploy a Matrix homeserver stack on Kubernetes @@ -438,6 +438,7 @@ A Helm chart to deploy a Matrix homeserver stack on Kubernetes | element.probes.startup | object | `{}` | | | element.replicaCount | int | `1` | replicas for element pods | | element.resources | object | `{}` | | +| element.revisionHistoryLimit | int | `2` | set the revisionHistoryLimit to decide how many replicaSets are kept when you change a deployment. Explicitly setting this field to 0, will result in cleaning up all the history of your Deployment thus that Deployment will not be able to roll back. | | element.roomDirectoryServers | list | `["matrix.org"]` | Servers to show in the Explore menu (the current server is always shown) | | element.service.port | int | `80` | service port for element | | element.service.type | string | `"ClusterIP"` | service type for element | diff --git a/charts/matrix/templates/element/deployment.yaml b/charts/matrix/templates/element/deployment.yaml index c55d2889..f4c9a025 100644 --- a/charts/matrix/templates/element/deployment.yaml +++ b/charts/matrix/templates/element/deployment.yaml @@ -8,6 +8,7 @@ metadata: {{ include "matrix.element.labels" . | indent 4}} spec: replicas: {{ .Values.element.replicaCount }} + revisionHistoryLimit: {{ .Values.element.revisionHistoryLimit }} selector: matchLabels: app.kubernetes.io/name: {{ include "matrix.name" . }}-element diff --git a/charts/matrix/values.yaml b/charts/matrix/values.yaml index 21e46cce..2702da7e 100644 --- a/charts/matrix/values.yaml +++ b/charts/matrix/values.yaml @@ -1492,6 +1492,12 @@ element: # Element Desktop, or any other Matrix clients enabled: true + # -- set the revisionHistoryLimit to decide how many replicaSets are + # kept when you change a deployment. Explicitly setting this field to 0, + # will result in cleaning up all the history of your Deployment thus that + # Deployment will not be able to roll back. + revisionHistoryLimit: 2 + ingress: # -- ingressClassName for the k8s ingress className: "nginx"