From 7372ab6ca2985d048ed60b06258d50fbb5208724 Mon Sep 17 00:00:00 2001 From: Aaron Layfield Date: Thu, 30 Oct 2025 08:49:29 +0900 Subject: [PATCH 1/2] fix(redis-ha): Standardize resource indentation for init containers in statefulset Signed-off-by: Aaron Layfield --- .../redis-ha/templates/redis-ha-statefulset.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/charts/redis-ha/templates/redis-ha-statefulset.yaml b/charts/redis-ha/templates/redis-ha-statefulset.yaml index 9d8c2d6..f5bb12b 100644 --- a/charts/redis-ha/templates/redis-ha-statefulset.yaml +++ b/charts/redis-ha/templates/redis-ha-statefulset.yaml @@ -130,6 +130,7 @@ spec: - name: hostpath-chown image: {{ .Values.image.repository }}:{{ .Values.image.tag }} securityContext: {{- include "compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 10 }} + resources: {{ toYaml .Values.init.resources | nindent 10 }} command: - chown - "{{ .Values.containerSecurityContext.runAsUser }}" @@ -141,8 +142,7 @@ spec: - name: config-init image: {{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} - resources: -{{ toYaml .Values.init.resources | indent 10 }} + resources: {{ toYaml .Values.init.resources | nindent 10 }} command: - sh args: @@ -190,8 +190,7 @@ spec: - name: restore-s3 image: s3cmd/s3cmd:latest imagePullPolicy: {{ .Values.image.pullPolicy }} - resources: -{{ toYaml .Values.init.resources | indent 10 }} + resources: {{ toYaml .Values.init.resources | nindent 10 }} command: - sh args: @@ -217,8 +216,7 @@ spec: - name: restore-ssh image: lgatica/openssh-client:latest imagePullPolicy: {{ .Values.image.pullPolicy }} - resources: -{{ toYaml .Values.init.resources | indent 10 }} + resources: {{ toYaml .Values.init.resources | nindent 10 }} command: - sh args: @@ -251,8 +249,7 @@ spec: - name: restore-redis image: {{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} - resources: -{{ toYaml .Values.init.resources | indent 10 }} + resources: {{ toYaml .Values.init.resources | nindent 10 }} command: - sh args: @@ -487,6 +484,7 @@ spec: - name: split-brain-fix image: {{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} + resources: {{ toYaml .Values.splitBrainDetection.resources | nindent 10 }} command: - sh args: @@ -520,8 +518,6 @@ spec: {{- end }} key: {{ .Values.sentinel.authKey }} {{- end }} - resources: - {{- toYaml .Values.splitBrainDetection.resources | nindent 10 }} volumeMounts: - name: config mountPath: /readonly-config From 397c1382c931ada80fd95b04fdd496613e89554d Mon Sep 17 00:00:00 2001 From: Aaron Layfield Date: Thu, 30 Oct 2025 08:49:45 +0900 Subject: [PATCH 2/2] chore(redis-ha): Bump chart version to 4.35.2 Signed-off-by: Aaron Layfield --- charts/redis-ha/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index 48aff37..8035788 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 4.35.0 +version: 4.35.2 appVersion: 8.2.2 description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png