Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ spec:
{{- with $.Values.storage.coordinators.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with $coordinator.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -359,6 +362,9 @@ spec:
{{- if $.Values.storage.coordinators.extraVolumes }}
{{- tpl (toYaml $.Values.storage.coordinators.extraVolumes) $ | nindent 6 }}
{{- end }}
{{- if $coordinator.extraVolumes }}
{{- tpl (toYaml $coordinator.extraVolumes) $ | nindent 6 }}
{{- end }}

volumeClaimTemplates:
- apiVersion: v1
Expand Down
6 changes: 6 additions & 0 deletions charts/memgraph-high-availability/templates/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ spec:
{{- with $.Values.storage.data.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with $data.extraVolumeMounts }}
{{- toYaml . | nindent 10 }}
{{- end }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down Expand Up @@ -355,6 +358,9 @@ spec:
{{- if $.Values.storage.data.extraVolumes }}
{{- tpl (toYaml $.Values.storage.data.extraVolumes) $ | nindent 6 }}
{{- end }}
{{- if $data.extraVolumes }}
{{- tpl (toYaml $data.extraVolumes) $ | nindent 6 }}
{{- end }}

volumeClaimTemplates:
- apiVersion: v1
Expand Down
14 changes: 14 additions & 0 deletions charts/memgraph-high-availability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ data:
volumeSnapshotName: data-0-snap # Used only if restoreDataFromSnapshot is set to true
internalAccessAnnotations: {} # Per-instance annotations for internal ClusterIP service
externalAccessAnnotations: {} # Per-instance annotations for external access service (merged with externalAccessConfig.dataInstance.annotations, per-instance takes precedence)
# Optional volumes mounted only by this data instance. Supports Helm templating (e.g. {{ .Release.Name }}).
extraVolumes: []
# Optional mounts for this data instance. Names must match extraVolumes entries.
extraVolumeMounts: []
tls:
bolt:
enabled: false
Expand All @@ -502,6 +506,8 @@ data:
volumeSnapshotName: data-1-snap
internalAccessAnnotations: {}
externalAccessAnnotations: {}
extraVolumes: []
extraVolumeMounts: []
tls:
bolt:
enabled: false
Expand All @@ -523,6 +529,10 @@ coordinators:
volumeSnapshotName: coord-1-snap
internalAccessAnnotations: {}
externalAccessAnnotations: {}
# Optional volumes mounted only by this coordinator. Supports Helm templating (e.g. {{ .Release.Name }}).
extraVolumes: []
# Optional mounts for this coordinator. Names must match extraVolumes entries.
extraVolumeMounts: []
tls:
bolt:
enabled: false
Expand All @@ -542,6 +552,8 @@ coordinators:
volumeSnapshotName: coord-2-snap
internalAccessAnnotations: {}
externalAccessAnnotations: {}
extraVolumes: []
extraVolumeMounts: []
tls:
bolt:
enabled: false
Expand All @@ -561,6 +573,8 @@ coordinators:
volumeSnapshotName: coord-3-snap
internalAccessAnnotations: {}
externalAccessAnnotations: {}
extraVolumes: []
extraVolumeMounts: []
tls:
bolt:
enabled: false
Expand Down
13 changes: 13 additions & 0 deletions examples/pvc_import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-csv-import
namespace: memgraph
annotations:
helm.sh/resource-policy: keep
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
Loading