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

Mount /etc to /host_etc and symlink passwd and group files to host fo… #5830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seiferteric
Copy link
Contributor

…r group lookups for authorization

Signed-off-by: Eric Seifert seiferteric@gmail.com

- Why I did it
Group lookups for authorization in REST server and telemetry require access to the host /etc/passwd and /etc/group files. These files should be available from being mounted to /host_etc in the containers, and the files should be symlinked.
- How I did it
Add mount option for telemetry, the same as mgmt-framework. Add symlink commands to both Dockerfiles
- How to verify it
Build mgmt-framework and telemetry containers and verify files are correctly symlinked to host files in container.
- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

- Description for the changelog

Symlink /etc/passwd and /etc/group files on container to host equivalents mounted at /host_etc.

…r group lookups for authorization

Signed-off-by: Eric Seifert <seiferteric@gmail.com>
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.

1 participant