Skip to content

Commit

Permalink
Merge pull request #43 from subigre/fix-security-context
Browse files Browse the repository at this point in the history
Add securityContext to copy-responses init container
  • Loading branch information
gitkent authored Sep 8, 2024
2 parents 224fd4f + 4efe65c commit 5e80e58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/wiremock/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/wiremock/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ spec:
- mountPath: /home/wiremock/storage/mappings
name: mappings-data
- name: copy-responses
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.initContainer.image.repository }}:{{ .Values.initContainer.image.tag }}"
imagePullPolicy: {{ .Values.initContainer.image.pullPolicy }}
command: ["bash", "-c", "cp -rf /data/responses /home/wiremock/storage/__files"]
Expand Down
Binary file added wiremock-1.1.0.tgz
Binary file not shown.

0 comments on commit 5e80e58

Please sign in to comment.