Skip to content

Commit

Permalink
adds standard labels to prestashop chart pvc's (helm#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik authored and lachie83 committed Jan 4, 2017
1 parent 5f09a22 commit 8f7eb84
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/prestashop/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: prestashop
version: 0.4.0
version: 0.4.1
description: A popular open source ecommerce solution. Professional tools are easily accessible to increase online sales including instant guest checkout, abandoned cart reminders and automated Email marketing.
keywords:
- prestashop
Expand Down
5 changes: 5 additions & 0 deletions stable/prestashop/templates/apache-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "fullname" . }}-apache
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
volume.alpha.kubernetes.io/storage-class: {{ .Values.persistence.apache.storageClass | quote }}
spec:
Expand Down
5 changes: 5 additions & 0 deletions stable/prestashop/templates/prestashop-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "fullname" . }}-prestashop
labels:
app: {{ template "fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
volume.alpha.kubernetes.io/storage-class: {{ .Values.persistence.prestashop.storageClass | quote }}
spec:
Expand Down

0 comments on commit 8f7eb84

Please sign in to comment.