Skip to content

Commit 90c6407

Browse files
Marco Maurermkilchhofer
authored andcommitted
feat: Add ability to configure emptyDir params (sizeLimit, medium)
Signed-off-by: Marco Maurer <[email protected]>
1 parent 4a328c4 commit 90c6407

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/aws-efs-csi-driver/templates/controller-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,11 @@ spec:
180180
{{- end }}
181181
volumes:
182182
- name: socket-dir
183+
{{- if .Values.controller.socketDirVolume }}
184+
{{- toYaml .Values.controller.socketDirVolume | nindent 10 }}
185+
{{- else }}
183186
emptyDir: {}
187+
{{- end }}
184188
{{- with .Values.controller.volumes }}
185189
{{- toYaml . | nindent 8 }}
186190
{{- end }}

charts/aws-efs-csi-driver/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ controller:
9797
env: []
9898
volumes: []
9999
volumeMounts: []
100+
socketDirVolume:
101+
emptyDir: {}
100102
# Specifies whether a service account should be created
101103
serviceAccount:
102104
create: true

0 commit comments

Comments
 (0)