Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/redmine] Update to the recommended pvc patterns. #466

Merged
merged 6 commits into from
Jan 31, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove annotations and fix trunc in pvc
Adnan Abdulhussein committed Jan 28, 2017
commit e8496a0c04404aec5fce78bad95bdbecb44fcbe0
5 changes: 1 addition & 4 deletions stable/redmine/templates/pvc.yaml
Original file line number Diff line number Diff line change
@@ -11,12 +11,9 @@ metadata:
annotations:
{{- if .Values.persistence.storageClass }}
volume.beta.kubernetes.io/storage-class: {{ .Values.persistence.storageClass | quote }}
{{ else }}
{{- else }}
volume.alpha.kubernetes.io/storage-class: default
{{- end }}
{{- range $key, $value := .Values.persistence.annotations }}
{{ $key }}: {{ $value }}
{{- end }}
spec:
accessModes:
- {{ .Values.persistence.accessMode | quote }}