Verdaccio (Helm) - htpasswd permission denied
See original GitHub issueDescribe the bug I installed verdaccio helm chart with my custom configuration yaml file. I tried to ssh into the pod and create /verdaccio/storage/htpasswd with user records but I don’t have the permission to create a file inside /storage directory.
To Reproduce
-
Create custom config.yaml
-
Create configmap:
kubectl create configmap verdaccio-config --from-file ./config.yaml
-
Install Verdaccio Helm Chart:
helm install verdaccio --set customConfigMap=verdaccio-config verdaccio/verdacio
-
I ssh into the pod and wanted to create /verdaccio/storage/htpasswd file but I got ‘permission denied’. I also tried to run chown command on the folder but I couldn’t as I do not have enough privilege.
Configuration File (cat ~/.config/verdaccio/config.yaml)
storage: /verdaccio/storage/data
plugins: /verdaccio/plugins
web:
title: Verdaccio
auth:
htpasswd:
file: /verdaccio/storage/htpasswd
max_users: -1
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@my-scope/*':
access: $authenticated
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
middlewares:
audit:
enabled: true
logs:
- { type: stdout, format: pretty, level: http }
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Configuration File - Verdaccio
This file is the cornerstone of Verdaccio where you can modify the default behaviour, enable plugins and extend features.
Read more >Lennart Nordgreen / helm-charts · GitLab
Name Last commit Last update
aerospike Fixed imagePullSecrets (#19705) 2 years ago
airflow fix(requirements): updated versions (#20228) 2 years ago
ambassador Add deprecation warning to helm...
Read more >npm 私有库搭建- verdaccio (一) - CSDN博客
安装npm install -g verdaccio --unsafe-perm加上–unsafe-perm的原因会导致 ... configure error gyp ERR! stack Error: EACCES: permission denied, ...
Read more >unRaid App List - GitHub Pages
Supports multi-user w/ permissions and keeps progress in sync across devices. ... Verdaccio comes out of the box with its own tiny database,...
Read more >Untitled
Can you maybe explain how did you install verdaccio? well, in the case if you are using kubernetes, I recommend deploying verdaccio via...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
definitely, nothing should be created manually in the pod
Maybe the chart should pass
htpasswd
as a secret? Is this feasible? Instead of manually creating the file in the pod.