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

Commit

Permalink
[elasticsearch] Set securityContext for test pod
Browse files Browse the repository at this point in the history
  • Loading branch information
michelesr committed Apr 16, 2020
1 parent 61c3a05 commit 17b833e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elasticsearch/templates/test/test-elasticsearch-health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ metadata:
annotations:
"helm.sh/hook": test-success
spec:
securityContext:
{{ toYaml .Values.podSecurityContext | indent 4 }}
containers:
- name: "{{ .Release.Name }}-{{ randAlpha 5 | lower }}-test"
image: "{{ .Values.image }}:{{ .Values.imageTag }}"
Expand Down

0 comments on commit 17b833e

Please sign in to comment.