Merge "fix: Update ingress.yaml to point to onmApiApplicationPort"

This commit is contained in:
Zuul 2024-05-14 14:09:05 +00:00 committed by Gerrit Code Review
commit 384d209cec

View File

@ -1,6 +1,6 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "nebulous-overlay-network-manager.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
{{- $svcPort := .Values.service.onmApiApplicationPort -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}