diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml index ffe007b4b4c958a30872c838dab69a183ee0a098..83c8905fbd1931aa85c6f686e7d15c61931fc985 100644 --- a/charts/mariadb/Chart.yaml +++ b/charts/mariadb/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: "0.8.1" +version: "0.8.2" appVersion: "10.11.2" diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md index be98aec384c3fb8834d70a8eef3088d5443b87ad..074b07b84076ef5006fb7c7bb111b739daa238b6 100644 --- a/charts/mariadb/README.md +++ b/charts/mariadb/README.md @@ -1,6 +1,6 @@ # MariaDB -   +   ## Changelog diff --git a/charts/mariadb/RELEASENOTES.md b/charts/mariadb/RELEASENOTES.md index b1f9ed4f250aef8f45de6d987a0a8b103ad7f5c9..1f940a5aca4222b83f27adda17c7e6fe044d2894 100644 --- a/charts/mariadb/RELEASENOTES.md +++ b/charts/mariadb/RELEASENOTES.md @@ -48,4 +48,5 @@ | 0.7.2 | 10.10.3 | Upgraded MariaDB to 10.10.3 | | 0.8.0 | 10.11.2 | Upgraded MariaDB to 10.11.2 | | 0.8.1 | 10.11.2 | Implemented alternative distribution with `Deployment` template (thx @tim-hanssen) | +| 0.8.2 | 10.11.2 | Fix default update strategy to `Recreate` for distribution with `Deployment` | | | | | diff --git a/charts/mariadb/templates/statefulset.yaml b/charts/mariadb/templates/statefulset.yaml index 33e9762e555133c31685701f883f7c87bc8599f1..6330b00754c7519ff873ef4719017d1ea50dae2b 100644 --- a/charts/mariadb/templates/statefulset.yaml +++ b/charts/mariadb/templates/statefulset.yaml @@ -20,6 +20,9 @@ spec: podManagementPolicy: {{ .Values.podManagementPolicy }} updateStrategy: type: {{ .Values.updateStrategyType }} + {{- else }} + strategy: + type: Recreate {{- end }} selector: matchLabels: diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml index e8871d3c1d2244b271f010a41ef2f37fec920eb4..39433304c8c05891e7b438ad0ad93f0d99d633a8 100644 --- a/charts/redis/Chart.yaml +++ b/charts/redis/Chart.yaml @@ -8,7 +8,7 @@ maintainers: - name: groundhog2k # This is the chart version -version: "0.6.6" +version: "0.6.7" # This is the version number of the application being deployed. appVersion: "7.0.10" diff --git a/charts/redis/README.md b/charts/redis/README.md index 1c1cabfc0850dd11e20e615bb81bdc2a551222ff..4076fa12ede5b6f7ff66bcc435508c50ff2e24eb 100644 --- a/charts/redis/README.md +++ b/charts/redis/README.md @@ -1,6 +1,6 @@ # Redis -   +   ## Changelog diff --git a/charts/redis/RELEASENOTES.md b/charts/redis/RELEASENOTES.md index fabbff79e39c6002fadb669899024810ccafb6ce..d10e95a9fdcbb1d285ee38d2950790eac17d00bc 100644 --- a/charts/redis/RELEASENOTES.md +++ b/charts/redis/RELEASENOTES.md @@ -26,4 +26,5 @@ | 0.6.4 | 7.0.9 | Added option to use Deployment instead of StatefulSet for Non-HA deployments - thx @tim-hanssen | | 0.6.5 | 7.0.10 | Upgraded to Redis 7.0.10 | | 0.6.6 | 7.0.10 | Fixed redis volume deployment in non-HA mode | +| 0.6.7 | 7.0.10 | Fix default update strategy to `Recreate` for distribution with `Deployment` | | | | | diff --git a/charts/redis/templates/statefulset.yaml b/charts/redis/templates/statefulset.yaml index 473848498ce2c28dd2a2a70be57114eb39717b13..28bc4b509517f9f396d21ecfaacec93130dea7b4 100644 --- a/charts/redis/templates/statefulset.yaml +++ b/charts/redis/templates/statefulset.yaml @@ -23,8 +23,11 @@ spec: {{- if or (.Values.haMode.enabled) (not .Values.useDeploymentWhenNonHA) }} serviceName: {{ $fullname }}-headless podManagementPolicy: {{ .Values.podManagementPolicy }} - updateStrategy: + updateStrategy: type: {{ .Values.updateStrategyType }} + {{- else }} + strategy: + type: Recreate {{- end }} selector: matchLabels: