Fix the wrong path in the install scripts
[it/dep.git] / infra / 10-Nexus / helm / templates / ingress.yaml
index 078f1af..3609022 100644 (file)
 #   See the License for the specific language governing permissions and        #
 #   limitations under the License.                                             #
 ################################################################################
-
-{{- $fullName := include "nexus.fullname" . -}}
 apiVersion: extensions/v1beta1
 kind: Ingress
 metadata:
-  name: {{ $fullName }}
+  name: {{ include "nexus.fullname" . }}
   labels:
     app: {{ template "nexus.name" . }}
     chart: {{ template "nexus.chart" . }}
@@ -35,11 +33,11 @@ spec:
       http:
         paths:
           - backend:
-              serviceName: {{ $fullName }}
+              serviceName: {{ include "nexus.fullname" . }}
               servicePort: nexus
     - host: docker.{{ .Values.ingress.hostpostfix }}
       http:
         paths:
           - backend:
-              serviceName: {{ $fullName }}
+              serviceName: {{ include "nexus.fullname" . }}
               servicePort: docker