Skip to content

Commit

Permalink
Merge pull request #1108 from chronograph-pe/nb/set-emptydir-vol-opts
Browse files Browse the repository at this point in the history
emptyDir: volume options
  • Loading branch information
stefanmcshane authored Jan 1, 2024
2 parents fb02412 + 21cf526 commit 595edc4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion applications/web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,8 @@ spec:
{{ end }}
{{ if .Values.emptyDir.enabled }}
- name: "{{ include "docker-template.fullname" . }}-empty-dir-storage"
emptyDir: {}
emptyDir:
{{- toYaml .Values.emptyDir.volumeOptions | nindent 8 }}
{{ end }}
{{ end }}
{{- end }}
1 change: 1 addition & 0 deletions applications/web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,4 @@ stack:
emptyDir:
enabled: false
mountPath: /mypath
volumeOptions: {}
3 changes: 2 additions & 1 deletion applications/worker/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ spec:
{{ end }}
{{ if .Values.emptyDir.enabled }}
- name: "{{ include "docker-template.fullname" . }}-empty-dir-storage"
emptyDir: {}
emptyDir:
{{- toYaml .Values.emptyDir.volumeOptions | nindent 8 }}
{{ end }}
{{ end }}
1 change: 1 addition & 0 deletions applications/worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,4 @@ stack:
emptyDir:
enabled: false
mountPath: /mypath
volumeOptions: {}

0 comments on commit 595edc4

Please sign in to comment.