Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable shared EFS volume for all services #1300

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MauAraujo
Copy link
Contributor

@MauAraujo MauAraujo commented May 21, 2024

This PR adds support for adding a shared EFS volumes on all types of services.

If this is enabled in the dashboard, the EFS volume will be mounted to all services and jobs under the same path. I changed the mount path to be the same as the app name (release name) so that it matches what is being displayed on the dashboard.

For compatibility reasons, the web service will have two mountpaths for the EFS volume:

Mounts: 
  /data/efs/volume-web from efs-volume (rw)
  /data/volume from efs-volume (rw)

@@ -323,8 +323,11 @@ spec:
{{ if .Values.awsEfsStorage }}
volumeMounts:
{{- range $v := .Values.awsEfsStorage }}
- name: efs-{{ $.Values.fullnameOverride }}
- name: {{ $v.name }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you keep this name the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants