Skip to content

Commit b1a5190

Browse files
authored
Add securityContext for copy-responses container
1 parent 224fd4f commit b1a5190

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: charts/wiremock/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ spec:
7474
- mountPath: /home/wiremock/storage/mappings
7575
name: mappings-data
7676
- name: copy-responses
77+
securityContext:
78+
{{- toYaml .Values.securityContext | nindent 12 }}
7779
image: "{{ .Values.initContainer.image.repository }}:{{ .Values.initContainer.image.tag }}"
7880
imagePullPolicy: {{ .Values.initContainer.image.pullPolicy }}
7981
command: ["bash", "-c", "cp -rf /data/responses /home/wiremock/storage/__files"]

0 commit comments

Comments
 (0)