fix: LocalCaches | use RWX and fix verdaccio config

This commit is contained in:
2025-11-17 12:57:29 +05:00
parent 9b273d5eb9
commit c91d517169
2 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ metadata:
spec:
storageClassName: longhorn
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
storage: 128Gi

View File

@@ -8,11 +8,6 @@ data:
config.yaml: |
storage: /verdaccio/storage
auth:
htpasswd:
file: /dev/null
max_users: -1
uplinks:
npmjs:
url: https://registry.npmjs.org/
@@ -28,7 +23,7 @@ data:
publish: never
proxy: npmjs
logs:
log:
- {type: stdout, format: pretty, level: http}
---
apiVersion: v1
@@ -38,7 +33,7 @@ metadata:
namespace: homelab
spec:
accessModes:
- ReadWriteOnce
- ReadWriteMany
storageClassName: longhorn
resources:
requests:
@@ -84,6 +79,11 @@ spec:
containers:
- name: verdaccio
image: verdaccio/verdaccio:latest
env:
- name: VERDACCIO_APP_CONFIG
value: /verdaccio/conf/custom.yaml
- name: VERDACCIO_PORT
value: "4873"
ports:
- containerPort: 4873
volumeMounts: