diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index 98831e6..f1e1cd1 100644 --- a/charts/verdaccio/Chart.yaml +++ b/charts/verdaccio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A lightweight, private NPM proxy registry for GKE name: verdaccio-gke-charts -version: 0.1.0 +version: 0.1.1 appVersion: 5.0.4 home: https://xlts-dev.github.io/verdaccio-gke-charts/ icon: https://cdn.verdaccio.dev/logos/default.png diff --git a/charts/verdaccio/templates/ingress.yaml b/charts/verdaccio/templates/ingress.yaml index 43046f5..05743e0 100644 --- a/charts/verdaccio/templates/ingress.yaml +++ b/charts/verdaccio/templates/ingress.yaml @@ -27,14 +27,18 @@ spec: {{- range $ingressExtraPaths }} - path: {{ default "/" .path | quote }} backend: - serviceName: {{ default $serviceName .service }} - servicePort: {{ default $servicePort .port }} + service: + name: {{ default $serviceName .service }} + port: + number: {{ default $servicePort .port }} {{- end }} {{- range $p := $paths }} - path: {{ $p }} backend: - serviceName: {{ $serviceName }} - servicePort: {{ $servicePort }} + service: + name: {{ $serviceName }} + port: + number: {{ $servicePort }} {{- end -}} {{- end -}} {{- else }} @@ -43,8 +47,10 @@ spec: {{- range $p := $paths }} - path: {{ $p }} backend: - serviceName: {{ $serviceName }} - servicePort: {{ $servicePort }} + service: + name: {{ $serviceName }} + port: + number: {{ $servicePort }} {{- end -}} {{- end -}} {{- if .Values.ingress.tls }}