28 lines
892 B
YAML
28 lines
892 B
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
annotations:
|
|
{{- if .Values.global.commonAnnotations }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonAnnotations "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
{{- if .Values.global.commonLabels }}
|
|
{{- include "render-value" ( dict "value" .Values.global.commonLabels "context" .) | nindent 4 }}
|
|
{{- end }}
|
|
app.kubernetes.io/part-of: federatorai
|
|
app: alameda
|
|
name: alameda-notifier-log.pvc
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
accessModes:
|
|
{{- if .Values.alamedaNotifier.persistence.accessModes }}
|
|
{{ .Values.alamedaNotifier.persistence.accessModes | toYaml | nindent 4 }}
|
|
{{- end }}
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.alamedaNotifier.persistence.logStorageSize }}
|
|
{{- if .Values.global.storageClassName }}
|
|
storageClassName: {{ .Values.global.storageClassName }}
|
|
{{- end }}
|