blob: 1a7522a8ff385e02e9d27bfc444fd09879421e39 [file] [log] [blame]
{{- $fullName := include "nexus.fullname" . -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
app: {{ template "nexus.name" . }}
chart: {{ template "nexus.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
tls:
- hosts:
- docker.{{ .Values.ingress.hostpostfix }}
secretName: {{ include "common.repositorycert" . }}
rules:
- host: nexus.{{ .Values.ingress.hostpostfix }}
http:
paths:
- backend:
serviceName: {{ $fullName }}
servicePort: nexus
- host: docker.{{ .Values.ingress.hostpostfix }}
http:
paths:
- backend:
serviceName: {{ $fullName }}
servicePort: docker