Skip to content

Conversation

@bznein
Copy link
Contributor

@bznein bznein commented Mar 23, 2021

This PR changes the volume mount for the keyfile. Instead of mounting from a secret we mount an emptyDir, and then let the agent write the keyfile with correct permissions

This avoids the issue of having the volume mounted as read-only (which always happens when mounting volumes from secrets)

All Submissions:

  • Have you opened an Issue before filing this PR?
  • Have you signed our CLA?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

@bznein bznein requested a review from chatton March 23, 2021 10:07
Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM once all the tests have passed!

@bznein bznein merged commit ce3e632 into master Mar 23, 2021
@bznein bznein deleted the Use_empty_dir_for_keyfile branch March 23, 2021 11:01
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