apiVersion: v1 kind: PersistentVolumeClaim metadata: annotations: {{ include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }} labels: {{ include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }} app.kubernetes.io/part-of: federatorai app: alameda name: my-alameda.influxdb-data.pvc namespace: {{ .Release.Namespace }} spec: accessModes: {{ .Values.alamedaInfluxdb.persistence.accessModes | toYaml | nindent 2 }} resources: requests: storage: {{ .Values.alamedaInfluxdb.persistence.dataStorageSize }} {{- if .Values.global.storageClassName }} storageClassName: {{ .Values.global.storageClassName }} {{- end }}