18 lines
419 B
YAML
18 lines
419 B
YAML
{{- if .Values.services.redis.enabled }}
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: redis-data
|
|
name: redis-data
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.services.redis.storage }}
|
|
{{ if .Values.services.redis.storageClass }}
|
|
storageClassName: {{ .Values.services.redis.storageClass }}
|
|
{{ end }}
|
|
status: {}
|
|
{{- end }}
|