contrib/helm/clair: fix the ingress template

Make 'servicePort' reference 'externalApiPort' instead of
'externalPort'.
This commit is contained in:
Bruno Miguel Custodio 2017-09-06 16:11:53 +01:00
parent e4a58305f4
commit 13be17a690
No known key found for this signature in database
GPG Key ID: 84CDD9E18A1A6B2C

View File

@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
{{- $serviceName := include "fullname" . -}} {{- $serviceName := include "fullname" . -}}
{{- $servicePort := .Values.service.externalPort -}} {{- $servicePort := .Values.service.externalApiPort -}}
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata: