rancher-partner-charts/charts/prophetstor/federatorai/templates/fedemeter-influxdb/pvc-data.yaml

18 lines
722 B
YAML

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: fedemeter.influxdb-data.pvc
namespace: {{ .Release.Namespace }}
spec:
accessModes: {{ .Values.fedemeterInfluxdb.persistence.accessModes | toYaml | nindent 2 }}
resources:
requests:
storage: {{ .Values.fedemeterInfluxdb.persistence.dataStorageSize }}
{{- if .Values.global.storageClassName }}
storageClassName: {{ .Values.global.storageClassName }}
{{- end }}