Skip to content

Commit 31069b2

Browse files
authored
Fix elasticsearch shared initContainers rendering (#24005)
Signed-off-by: Fredrik Larsson <fredrik.larsson@tradera.com> Signed-off-by: Fredrik Larsson <10245011+BadLiveware@users.noreply.github.com>
1 parent 6139cc7 commit 31069b2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bitnami/elasticsearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ maintainers:
3434
name: elasticsearch
3535
sources:
3636
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
37-
version: 19.21.0
37+
version: 19.21.1

bitnami/elasticsearch/templates/coordinating/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
{{- if .Values.coordinating.podSecurityContext.enabled }}
8484
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.coordinating.podSecurityContext "context" $) | nindent 8 }}
8585
{{- end }}
86-
{{- if or .Values.coordinating.initContainers .Values.sysctlImage.enabled }}
86+
{{- if or (or .Values.initContainers .Values.coordinating.initContainers) .Values.sysctlImage.enabled }}
8787
initContainers:
8888
{{- if .Values.sysctlImage.enabled }}
8989
## Image that performs the sysctl operation to modify Kernel settings (needed sometimes to avoid boot errors)

bitnami/elasticsearch/templates/data/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
{{- if .Values.data.terminationGracePeriodSeconds }}
8484
terminationGracePeriodSeconds: {{ .Values.data.terminationGracePeriodSeconds }}
8585
{{- end }}
86-
{{- if or .Values.data.initContainers .Values.sysctlImage.enabled (and .Values.volumePermissions.enabled .Values.data.persistence.enabled) }}
86+
{{- if or (or .Values.initContainers .Values.data.initContainers) .Values.sysctlImage.enabled (and .Values.volumePermissions.enabled .Values.data.persistence.enabled) }}
8787
initContainers:
8888
{{- if .Values.sysctlImage.enabled }}
8989
## Image that performs the sysctl operation to modify Kernel settings (needed sometimes to avoid boot errors)

bitnami/elasticsearch/templates/ingest/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
{{- if .Values.ingest.terminationGracePeriodSeconds }}
8484
terminationGracePeriodSeconds: {{ .Values.ingest.terminationGracePeriodSeconds }}
8585
{{- end }}
86-
{{- if or .Values.ingest.initContainers .Values.sysctlImage.enabled }}
86+
{{- if or (or .Values.initContainers .Values.ingest.initContainers) .Values.sysctlImage.enabled }}
8787
initContainers:
8888
{{- if .Values.sysctlImage.enabled }}
8989
## Image that performs the sysctl operation to modify Kernel settings (needed sometimes to avoid boot errors)

bitnami/elasticsearch/templates/master/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
{{- if .Values.master.terminationGracePeriodSeconds }}
8484
terminationGracePeriodSeconds: {{ .Values.master.terminationGracePeriodSeconds }}
8585
{{- end }}
86-
{{- if or .Values.master.initContainers .Values.sysctlImage.enabled (and .Values.volumePermissions.enabled .Values.master.persistence.enabled) }}
86+
{{- if or (or .Values.initContainers .Values.master.initContainers) .Values.sysctlImage.enabled (and .Values.volumePermissions.enabled .Values.master.persistence.enabled) }}
8787
initContainers:
8888
{{- if .Values.sysctlImage.enabled }}
8989
## Image that performs the sysctl operation to modify Kernel settings (needed sometimes to avoid boot errors)

0 commit comments

Comments
 (0)