diff --git a/production/helm/loki/CHANGELOG.md b/production/helm/loki/CHANGELOG.md index 8450e4efab11a..fb74d0eab76a4 100644 --- a/production/helm/loki/CHANGELOG.md +++ b/production/helm/loki/CHANGELOG.md @@ -13,6 +13,10 @@ Entries should include a reference to the pull request that introduced the chang [//]: # ( : do not remove this line. This locator is used by the CI pipeline to automatically create a changelog entry for each new Loki release. Add other chart versions and respective changelog entries bellow this line.) +## 5.43.7 + +- [ENHANCEMENT] Avoid unnecessary pod restarts + ## 5.43.6 [ENHANCEMENT] Add `ciliumnetworkpolicy` with egress to world for table-manager if enabled. diff --git a/production/helm/loki/templates/backend/statefulset-backend.yaml b/production/helm/loki/templates/backend/statefulset-backend.yaml index 1b1be055f6266..7b15c3d9c1b4b 100644 --- a/production/helm/loki/templates/backend/statefulset-backend.yaml +++ b/production/helm/loki/templates/backend/statefulset-backend.yaml @@ -43,7 +43,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/gateway/deployment-gateway.yaml b/production/helm/loki/templates/gateway/deployment-gateway.yaml index 4ffa0c935b0a4..fcb5cd79b9fa5 100644 --- a/production/helm/loki/templates/gateway/deployment-gateway.yaml +++ b/production/helm/loki/templates/gateway/deployment-gateway.yaml @@ -30,7 +30,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/gateway/configmap-gateway.yaml") . | sha256sum }} + checksum/config: {{ tpl .Values.gateway.nginxConfig.file . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/read/deployment-read.yaml b/production/helm/loki/templates/read/deployment-read.yaml index a5e7524f2a05f..b426fca4b5f36 100644 --- a/production/helm/loki/templates/read/deployment-read.yaml +++ b/production/helm/loki/templates/read/deployment-read.yaml @@ -33,7 +33,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/read/statefulset-read.yaml b/production/helm/loki/templates/read/statefulset-read.yaml index eaea4aaecbc29..d0c4dfbffee69 100644 --- a/production/helm/loki/templates/read/statefulset-read.yaml +++ b/production/helm/loki/templates/read/statefulset-read.yaml @@ -43,7 +43,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/single-binary/statefulset.yaml b/production/helm/loki/templates/single-binary/statefulset.yaml index 96c8974b72c26..9a4b0d827b78a 100644 --- a/production/helm/loki/templates/single-binary/statefulset.yaml +++ b/production/helm/loki/templates/single-binary/statefulset.yaml @@ -41,7 +41,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/table-manager/deployment-table-manager.yaml b/production/helm/loki/templates/table-manager/deployment-table-manager.yaml index bc14d1f6df491..a8f708cdde585 100644 --- a/production/helm/loki/templates/table-manager/deployment-table-manager.yaml +++ b/production/helm/loki/templates/table-manager/deployment-table-manager.yaml @@ -21,7 +21,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/production/helm/loki/templates/write/statefulset-write.yaml b/production/helm/loki/templates/write/statefulset-write.yaml index ca67038a16192..3dd1c32a2994c 100644 --- a/production/helm/loki/templates/write/statefulset-write.yaml +++ b/production/helm/loki/templates/write/statefulset-write.yaml @@ -43,7 +43,7 @@ spec: template: metadata: annotations: - checksum/config: {{ include (print .Template.BasePath "/config.yaml") . | sha256sum }} + checksum/config: {{ include "loki.calculatedConfig" . | sha256sum }} {{- with .Values.loki.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }}