mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
* [bitnami/owncloud] Add missing namespace metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add quotes to $.Release.Namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
22 lines
871 B
YAML
22 lines
871 B
YAML
{{- if and .Values.persistence.enabled .Values.persistence.hostPath (not .Values.persistence.existingClaim) -}}
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: {{ include "common.names.fullname" . }}-owncloud
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
accessModes:
|
|
- {{ .Values.persistence.accessMode | quote }}
|
|
capacity:
|
|
storage: {{ .Values.persistence.size | quote }}
|
|
hostPath:
|
|
path: {{ .Values.persistence.hostPath | quote }}
|
|
{{- end -}}
|