Skip to content

Commit

Permalink
add: ingress custom port functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
deB4SH committed Jan 7, 2025
1 parent c6379bb commit 4ddbbff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/nexus-repositorymanager/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
service:
name: {{$.Release.Name}}-clusterip
port:
{{- if .customPort }}
number: {{ .customPort }}
{{- else }}
number: 8081
{{- end }}
{{- end }}
{{- end }}
6 changes: 6 additions & 0 deletions charts/nexus-repositorymanager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ ingresses:
- enabled: false
hostname: nexus.local.lan
ingressClassName: nginx
annotations: {}
# cert-manager.io/cluster-issuer: selfsigned-issuer
- enabled: false
hostname: nexus-docker.local.lan
ingressClassName: nginx
customPort: 1234
annotations: {}
# cert-manager.io/cluster-issuer: selfsigned-issuer

0 comments on commit 4ddbbff

Please sign in to comment.