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

change config dir location #286

Merged
merged 1 commit into from
Jan 7, 2021

Commits on Jan 7, 2021

  1. change config dir location

    Before this change, the driver failed to work on Bottlerocket because it
    tries to write files into the host directory /etc/amazon/efs. On
    Bottlerocket that directory is not writable by the container.
    
    We want to move the host mount point to /var/amazon/efs, but we need to
    support backward compatibility with hosts that may already have configs
    written to /etc/amazon/efs.
    
    To solve this, we mount both host paths and check for the presence of
    config files at container runtime. If we find files in the old location,
    we symlink to that location, otherwise we symlink to the new location.
    webern committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    6d4b96d View commit details
    Browse the repository at this point in the history