Update nexus helm charts. Docker and helm repos are exposed using separated ingress...
[it/dep.git] / ric-infra / 10-Nexus / helm / templates / docker-ingress.yaml
 apiVersion: extensions/v1beta1
 kind: Ingress
 metadata:
-  name: {{ include "nexus.fullname" . }}
-  labels:
-    app: {{ template "nexus.name" . }}
-    chart: {{ template "nexus.chart" . }}
-    release: {{ .Release.Name }}
-    heritage: {{ .Release.Service }}
+  name: {{ include "common.ingressname.nexus" . }}-docker
 spec:
   tls:
     - hosts:
-      - docker.{{ .Values.ingress.hostpostfix }}
-      secretName: {{ include "common.repositorycert" . }}
+      - {{ include "common.ingressurl.localdocker" . }}
+      secretName: secret-{{ include "common.name.nexus" . }}-docker
   rules:
-    - host: nexus.{{ .Values.ingress.hostpostfix }}
+    - host: {{ include "common.ingressurl.localdocker" . }}
       http:
         paths:
           - backend:
-              serviceName: {{ include "nexus.fullname" . }}
-              servicePort: nexus
-    - host: docker.{{ .Values.ingress.hostpostfix }}
-      http:
-        paths:
-          - backend:
-              serviceName: {{ include "nexus.fullname" . }}
+              serviceName: {{ include "common.servicename.nexus.http" . }}
               servicePort: docker