mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/elasticsearch] Cronjob and Job PodSecurityContext bugfix (#10235)
* Cronjob PodSecurityConext bugfix Signed-off-by: Burján Dezső <fireapex@gmail.com> * Bump elasticsearch Chart version Signed-off-by: Burján Dezső <fireapex@gmail.com> * Ommitting field fix Signed-off-by: Burján Dezső <fireapex@gmail.com> * Job pod security contxt bugfix Signed-off-by: Burján Dezső <fireapex@gmail.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -25,4 +25,4 @@ name: elasticsearch
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-elasticsearch
|
||||
- https://www.elastic.co/products/elasticsearch
|
||||
version: 18.1.1
|
||||
version: 18.1.2
|
||||
|
||||
@@ -65,8 +65,8 @@ spec:
|
||||
{{- if $.Values.curator.topologySpreadConstraints }}
|
||||
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" $.Values.curator.topologySpreadConstraints "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if $.Values.curator.podSecurityContext }}
|
||||
securityContext: {{- toYaml $.Values.curator.podSecurityContext | nindent 8 }}
|
||||
{{- if $.Values.curator.podSecurityContext.enabled }}
|
||||
securityContext: {{- omit $.Values.curator.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if $.Values.curator.initContainers }}
|
||||
initContainers: {{- include "common.tplvalues.render" (dict "value" $.Values.curator.initContainers "context" $) | nindent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user