Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / platform / components / oauth2-proxy / components / oauth2-proxy / templates / deprecation.yaml
1 {{- if .Values.checkDeprecation }}
2     {{- if .Values.service.port }}
3         {{ fail "`service.port` does no longer exist. It has been renamed to `service.portNumber`" }}
4     {{- end }}
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" }}
9             {{- end }}
10         {{- end }}
11     {{- end }}
12 {{- end }}