Skip to content

Commit 5e80e58

Browse files
authored
Merge pull request #43 from subigre/fix-security-context
Add securityContext to copy-responses init container
2 parents 224fd4f + 4efe65c commit 5e80e58

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/wiremock/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

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"]

wiremock-1.1.0.tgz

5.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)