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

Commit

Permalink
Merge pull request #584 from michelesr/master
Browse files Browse the repository at this point in the history
[elasticsearch] Set securityContext for test pod
  • Loading branch information
jmlrt authored Apr 20, 2020
2 parents d3d454f + 17b833e commit 3214241
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 3214241

Please sign in to comment.