Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #288 from baspr01/nexus-svc-additionalports
Browse files Browse the repository at this point in the history
Nexus svc additionalports
  • Loading branch information
rjkernick authored May 24, 2021
2 parents eec41da + ff4d26f commit 3d62d67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sonatype-nexus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: sonatype-nexus
version: 5.1.1
version: 5.1.2
appVersion: 3.27.0
description: Sonatype Nexus is an open source repository manager
keywords:
Expand Down
6 changes: 6 additions & 0 deletions charts/sonatype-nexus/templates/proxy-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ spec:
name: docker
protocol: TCP
targetPort: {{ .Values.nexus.dockerPort }}
{{- range $ports := .Values.nexus.additionalPorts }}
- port: {{ $ports.containerPort }}
name: {{ $ports.name }}
protocol: TCP
targetPort: {{ $ports.containerPort }}
{{- end }}
{{- end }}
selector:
app: {{ template "nexus.name" . }}
Expand Down

0 comments on commit 3d62d67

Please sign in to comment.