Browse Source

Ease search for SAPL volumes in vsphere

master
Fábio Kaiser Rauber 3 years ago
parent
commit
e98e11b7b7
  1. 2
      charts/sapl/v0.2.0/templates/deployment.yaml
  2. 4
      charts/sapl/v0.2.0/templates/pvc-media.yaml

2
charts/sapl/v0.2.0/templates/deployment.yaml

@ -100,7 +100,7 @@ spec:
- name: media - name: media
{{- if .Values.persistence.enabled }} {{- if .Values.persistence.enabled }}
persistentVolumeClaim: persistentVolumeClaim:
claimName: media claimName: {{ include "sapl.fullname" . }}-media
{{- else }} {{- else }}
emptyDir: {} emptyDir: {}
{{- end }} {{- end }}

4
charts/sapl/v0.2.0/templates/pvc-media.yaml

@ -2,7 +2,9 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: media name: {{ include "sapl.fullname" . }}-media
labels:
{{- include "sapl.labels" . | nindent 4 }}
spec: spec:
accessModes: accessModes:
- {{ .Values.persistence.accessMode }} - {{ .Values.persistence.accessMode }}

Loading…
Cancel
Save