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

Commit

Permalink
Run as 1000
Browse files Browse the repository at this point in the history
Signed-off-by: Naseem <naseemkullah@gmail.com>
  • Loading branch information
naseemkullah committed Jun 17, 2019
1 parent 4cef518 commit 74d5b82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elasticsearch/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ spec:
{{- end }}
containers:
- name: "{{ template "name" . }}"
securityContext:
runAsNonRoot: true
runAsUser: 1000
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
imagePullPolicy: "{{ .Values.imagePullPolicy }}"
readinessProbe:
Expand Down

0 comments on commit 74d5b82

Please sign in to comment.