Skip to content

Commit

Permalink
Update default extraEnvVars (#109)
Browse files Browse the repository at this point in the history
* Update default extraEnvVars

Fix CrashLoopBackOff errror
```
 warn --- config file  - /verdaccio/conf/config.yaml
 warn --- Plugin successfully loaded: verdaccio-htpasswd
 warn --- Plugin successfully loaded: verdaccio-audit
 warn --- invalid address - http://0.0.0.0:tcp://10.230.80.202:4873, we expect a port (e.g. "4873"), host:port (e.g. "localhost:4873") or full url (e.g. "http://localhost:4873/")
```

* Update Chart.yaml

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
  • Loading branch information
v0112358 and juanpicado authored Jan 7, 2024
1 parent d4764e8 commit 40edb53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/verdaccio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A lightweight private node.js proxy registry
name: verdaccio
version: 4.15.0
version: 4.16.0
appVersion: 5.29.0
home: https://verdaccio.org
icon: https://cdn.verdaccio.dev/logos/default.png
Expand Down
5 changes: 4 additions & 1 deletion charts/verdaccio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,17 @@ serviceAccount:
name: ""

# Extra Environment Values - allows yaml definitions
extraEnvVars:
# extraEnvVars:
# - name: VALUE_FROM_SECRET
# valueFrom:
# secretKeyRef:
# name: secret_name
# key: secret_key
# - name: REGULAR_VAR
# value: ABC
extraEnvVars:
- name: VERDACCIO_PORT
value: "4873"

## Secret Environment Variables
## Use this to pass sensitive key:values to the container via k8s secret
Expand Down

0 comments on commit 40edb53

Please sign in to comment.