Skip to content

Commit

Permalink
Merge pull request #1449 from dduportal/feat/mirrorbits/subpath-mounts
Browse files Browse the repository at this point in the history
feat(mirrorbits) allow to mount a PVC with a subdir option
  • Loading branch information
dduportal authored Nov 27, 2024
2 parents 178f626 + eeb8948 commit 8c4919a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mirrorbits/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Mirrobits helm chart for Kubernetes
name: mirrorbits
version: 5.4.10
version: 5.5.0
appVersion: "v0.5.1"
maintainers:
- email: [email protected]
Expand Down
3 changes: 3 additions & 0 deletions charts/mirrorbits/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
- name: data
mountPath: {{ .Values.config.repository }}
readOnly: true
{{- with .Values.repository.subDir }}
subDir: {{ . }}
{{- end }}
- name: tmpdir
mountPath: /tmp
readOnly: false
Expand Down

0 comments on commit 8c4919a

Please sign in to comment.