Skip to content

Commit

Permalink
Allow emptyDir type volume mounts (#6803)
Browse files Browse the repository at this point in the history
  • Loading branch information
onichandame authored May 22, 2024
1 parent efc6edf commit 4ff509d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,12 @@ spec:
{{- if .existingClaim }}
persistentVolumeClaim:
claimName: {{ .existingClaim }}
{{- else }}
{{- else if .hostPath }}
hostPath:
path: {{ .hostPath }}
type: Directory
{{- else }}
emptyDir:
{{- toYaml .emptyDir | nindent 10 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions ci/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ extraVolumeMounts: []
# readOnly: true
# existingClaim: volume-claim
# hostPath: ""
# emptyDir: {}

extraConfigmapMounts: []
# - name: certs-configmap
Expand Down

0 comments on commit 4ff509d

Please sign in to comment.