Skip to content

Commit 3aa01de

Browse files
authored
Merge pull request #557 from RisingOpsNinja/checksum_only_data
fix(deployment): checksum only data of the ConfigMap and Secret
2 parents 2882a5f + f3626bc commit 3aa01de

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.23
2+
3+
[BUGFIX] Only trigger a reload of the pod, if the pod template change or the configuration changes [#557](https://github.com/WeblateOrg/helm/pull/557)
4+
15
## 0.5.22
26

37
[FEATURE] Add podLabels [#554](https://github.com/WeblateOrg/helm/pull/554)

charts/weblate/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ appVersion: 5.11.3.0
44
description: Weblate is a free web-based translation management system.
55
name: weblate
66
type: application
7-
version: 0.5.22
7+
version: 0.5.23
88
home: https://weblate.org/
99
icon: https://s.weblate.org/cdn/weblate.svg
1010
maintainers:

charts/weblate/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# weblate
22

3-
![Version: 0.5.22](https://img.shields.io/badge/Version-0.5.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.11.3.0](https://img.shields.io/badge/AppVersion-5.11.3.0-informational?style=flat-square)
3+
![Version: 0.5.23](https://img.shields.io/badge/Version-0.5.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.11.3.0](https://img.shields.io/badge/AppVersion-5.11.3.0-informational?style=flat-square)
44

55
Weblate is a free web-based translation management system.
66

charts/weblate/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ spec:
1616
template:
1717
metadata:
1818
annotations:
19-
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
20-
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
19+
checksum/config: {{ pick (include (print $.Template.BasePath "/configmap.yaml") . | fromYaml) "data" | toYaml | sha256sum }}
20+
checksum/secret: {{ pick (include (print $.Template.BasePath "/secret.yaml") . | fromYaml) "data" | toYaml | sha256sum }}
2121
checksum/secret-env: {{ .Values.extraSecretConfig | toYaml | sha256sum }}
2222
{{- with .Values.podAnnotations }}
2323
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)