# 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" . }}
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