1 {{- if .Values.checkDeprecation }}
2 {{- if .Values.service.port }}
3 {{ fail "`service.port` does no longer exist. It has been renamed to `service.portNumber`" }}
5 {{- if eq ( include "capabilities.ingress.apiVersion" . ) "networking.k8s.io/v1" -}}
6 {{- range .Values.ingress.extraPaths }}
7 {{- if or (.backend.serviceName) (.backend.servicePort) }}
8 {{ fail "Please update the format of your `ingress.extraPaths` to the new ingress apiVersion `networking.k8s.io/v1` format" }}