Skip to content

Commit

Permalink
Merge pull request #580 from lemeurherve/helpdesk2649-fix-pvc-name
Browse files Browse the repository at this point in the history
fix(mirrorbits): use the PVC name defined in values.yaml everywhere
  • Loading branch information
dduportal authored Aug 8, 2023
2 parents 2f7d454 + 706f253 commit 411415f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/mirrorbits/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: [email protected]
name: olblak
name: mirrorbits
version: 0.52.2
version: 0.53.0
4 changes: 3 additions & 1 deletion charts/mirrorbits/templates/deployment.files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ spec:
- name: conf
configMap:
name: {{ include "mirrorbits.fullname" . }}-files
{{ if .Values.repository.persistentVolumeClaim.enabled -}}
- name: binary
persistentVolumeClaim:
claimName: {{ include "mirrorbits.fullname" . }}-binary
claimName: {{ .Values.repository.name | default (printf "%s-binary" (include "mirrorbits.fullname" .)) }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/mirrorbits/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ spec:
{{ if $.Values.repository.persistentVolumeClaim.enabled -}}
- name: binary
persistentVolumeClaim:
claimName: {{ include "mirrorbits.fullname" . }}-binary
claimName: {{ .Values.repository.name | default (printf "%s-binary" (include "mirrorbits.fullname" .)) }}
{{- end -}}

0 comments on commit 411415f

Please sign in to comment.