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

Fixed adding the verdaccio user into the group #241

Merged
merged 1 commit into from
Jul 5, 2017

Conversation

markpeterfejes
Copy link
Contributor

Type: bug

The following has been addressed in the PR: There was a typo in the command creating the verdaccio user

Description: This exceptionally huge change makes it possible to use the image without chowning the whole volume in an init-container as mentioned in #238. :)

To be able to use it just make a change in your deployment file, add this to your PodSpec (101 is the verdaccio group id)

"securityContext": {
    "fsGroup": 101
}                        

Resolves #238

BUT
There is still a problem while trying to use the image like this:
docker run -it -v ~/test:/verdaccio/storage verdaccio/verdaccio:latest

I believe that it's a problem on Docker side.

@codecov
Copy link

codecov bot commented Jul 5, 2017

Codecov Report

Merging #241 into master will increase coverage by 1.93%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #241      +/-   ##
==========================================
+ Coverage   80.48%   82.42%   +1.93%     
==========================================
  Files          17       24       +7     
  Lines        1471     2304     +833     
==========================================
+ Hits         1184     1899     +715     
- Misses        287      405     +118
Impacted Files Coverage Δ
lib/storage/local/local-storage.js 81.66% <0%> (ø)
lib/plugins/htpasswd/utils.js 77.14% <0%> (ø)
lib/plugins/htpasswd/index.js 92.42% <0%> (ø)
lib/storage/local/local-fs.js 83.56% <0%> (ø)
lib/storage/local/local-data.js 100% <0%> (ø)
lib/storage/streams.js 100% <0%> (ø)
lib/storage/up-storage.js 90.47% <0%> (ø)
lib/plugins/htpasswd/crypt3.js 69.23% <0%> (+2.56%) ⬆️
lib/logger.js 76.62% <0%> (+3.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f59b0d...109d80a. Read the comment docs.

@juanpicado
Copy link
Member

How this will impact the nonkubernetes users?

@markpeterfejes
Copy link
Contributor Author

This change should not impact them anyhow. They wasn't able to use the image before this. They either have to run this without persistence, or have to set the permissions for the attached folder on the host.

@juanpicado juanpicado merged commit 807f170 into verdaccio:master Jul 5, 2017
@juanpicado
Copy link
Member

Now I see it. I'm still a 🐋er newbie 😄 . Thanks for the explanation.

@lock
Copy link

lock bot commented May 31, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants