Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit cf4782c

Browse files
ebuildyjmlrt
andauthored
[elasticsearch] add keystore container securityContext (#1494)
fix #1195 , add a securityContext for the initContainer "keystore". The securityContext is the same than the main container. Co-authored-by: jmlrt <[email protected]>
1 parent e085818 commit cf4782c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

elasticsearch/templates/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ spec:
180180
{{- end }}
181181
{{ if .Values.keystore }}
182182
- name: keystore
183+
securityContext:
184+
{{ toYaml .Values.securityContext | indent 10 }}
183185
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
184186
imagePullPolicy: "{{ .Values.imagePullPolicy }}"
185187
command:

0 commit comments

Comments
 (0)