diff --git a/README.md b/README.md index d516ad9..205cd1f 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,7 @@ and their default values. | `secrets.htpasswd` | user and password list to generate htpasswd. | `[]` | | `ingress.enabled` | Enable/Disable Ingress | `false` | | `ingress.className` | Ingress Class Name (k8s `>=1.18` required) | `""` | +| `ingress.labels` | Ingress Labels | `{}` | | `ingress.annotations` | Ingress Annotations | `{}` | | `ingress.hosts` | List of Ingress Hosts | `[]` | | `ingress.paths` | List of Ingress Paths | `["/"]` | diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index 66d1c7e..11fa747 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.23.0 +version: 4.24.0 appVersion: 6.0.2 home: https://verdaccio.org icon: https://cdn.verdaccio.dev/logos/default.png diff --git a/charts/verdaccio/templates/ingress.yaml b/charts/verdaccio/templates/ingress.yaml index ef8636a..d8dfa96 100644 --- a/charts/verdaccio/templates/ingress.yaml +++ b/charts/verdaccio/templates/ingress.yaml @@ -20,6 +20,9 @@ metadata: name: {{ $fullName }} labels: {{- include "verdaccio.labels" . | nindent 4 }} + {{- with .Values.ingress.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.ingress.annotations }} annotations: {{- include "tplvalues.render" (dict "value" . "context" $) | nindent 4 }} diff --git a/charts/verdaccio/values.yaml b/charts/verdaccio/values.yaml index a42c661..a6d344d 100644 --- a/charts/verdaccio/values.yaml +++ b/charts/verdaccio/values.yaml @@ -84,6 +84,7 @@ ingress: # Use this to define, ALB ingress's actions annotation based routing. Ex: for ssl-redirect # Ref: https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/guide/tasks/ssl_redirect/ extraPaths: [] + labels: {} # hosts: # - npm.blah.com # annotations: