From 40edb533ac914e630e990606bc001f6e8bef77a2 Mon Sep 17 00:00:00 2001 From: Nguyen Tan Vy Date: Sun, 7 Jan 2024 16:57:04 +0700 Subject: [PATCH] Update default extraEnvVars (#109) * 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 --- charts/verdaccio/Chart.yaml | 2 +- charts/verdaccio/values.yaml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index 0776d40..3e71678 100644 --- a/charts/verdaccio/Chart.yaml +++ b/charts/verdaccio/Chart.yaml @@ -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 diff --git a/charts/verdaccio/values.yaml b/charts/verdaccio/values.yaml index 543ae94..dc4448a 100644 --- a/charts/verdaccio/values.yaml +++ b/charts/verdaccio/values.yaml @@ -101,7 +101,7 @@ serviceAccount: name: "" # Extra Environment Values - allows yaml definitions -extraEnvVars: +# extraEnvVars: # - name: VALUE_FROM_SECRET # valueFrom: # secretKeyRef: @@ -109,6 +109,9 @@ extraEnvVars: # 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