From 347c789c464a7a403312c01e4f127ad0869f913f Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Fri, 13 Oct 2023 03:45:56 +0530 Subject: [PATCH] remove name Signed-off-by: Shubham Gupta --- charts/redis-cluster/templates/redis-cluster.yaml | 2 +- charts/redis-replication/templates/redis-replication.yaml | 2 +- charts/redis-sentinel/templates/redis-sentinel.yaml | 2 +- charts/redis/templates/redis-standalone.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/redis-cluster/templates/redis-cluster.yaml b/charts/redis-cluster/templates/redis-cluster.yaml index c2ef8531..3eab8372 100644 --- a/charts/redis-cluster/templates/redis-cluster.yaml +++ b/charts/redis-cluster/templates/redis-cluster.yaml @@ -74,7 +74,7 @@ spec: {{- if and .Values.sidecars (ne .Values.sidecars.name "") (ne .Values.sidecars.image) }} sidecars: {{ include "sidecar.properties" | nindent 4 }} {{- end }} - {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.name "") (ne .Values.initContainers.image) }} + {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.image) }} initContainers: {{ include "initContainer.properties" | nindent 4 }} {{- end }} {{- if .Values.env }} diff --git a/charts/redis-replication/templates/redis-replication.yaml b/charts/redis-replication/templates/redis-replication.yaml index 242cd8dd..3f023919 100644 --- a/charts/redis-replication/templates/redis-replication.yaml +++ b/charts/redis-replication/templates/redis-replication.yaml @@ -73,7 +73,7 @@ spec: secret: secretName: {{ .Values.acl.secret.secretName | quote }} {{- end }} - {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.name "") (ne .Values.initContainers.image) }} + {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.image) }} initContainers: {{ include "initContainer.properties" | nindent 4 }} {{- end }} {{- if and .Values.sidecars (ne .Values.sidecars.name "") (ne .Values.sidecars.image) }} diff --git a/charts/redis-sentinel/templates/redis-sentinel.yaml b/charts/redis-sentinel/templates/redis-sentinel.yaml index 77508beb..dce8ea08 100644 --- a/charts/redis-sentinel/templates/redis-sentinel.yaml +++ b/charts/redis-sentinel/templates/redis-sentinel.yaml @@ -86,7 +86,7 @@ spec: secret: secretName: {{ .Values.acl.secret.secretName | quote }} {{- end }} - {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.name "") (ne .Values.initContainers.image) }} + {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.image) }} initContainers: {{ include "initContainer.properties" | nindent 4 }} {{- end }} {{- if and .Values.sidecars (ne .Values.sidecars.name "") (ne .Values.sidecars.image) }} diff --git a/charts/redis/templates/redis-standalone.yaml b/charts/redis/templates/redis-standalone.yaml index 18e31da4..e1a9c1bb 100644 --- a/charts/redis/templates/redis-standalone.yaml +++ b/charts/redis/templates/redis-standalone.yaml @@ -72,7 +72,7 @@ spec: secret: secretName: {{ .Values.acl.secret.secretName | quote }} {{- end }} - {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.name "") (ne .Values.initContainers.image) }} + {{- if and .Values.initContainers .Values.initContainer.enabled (ne .Values.initContainers.image) }} initContainers: {{ include "initContainer.properties" | nindent 4 }} {{- end }} {{- if and .Values.sidecars (ne .Values.sidecars.name "") (ne .Values.sidecars.image) }}