-
-{{- define "common.name.nonrtricgateway" -}}
- {{- printf "nonrtricgateway" -}}
-{{- end -}}
-
-{{- define "common.container.nonrtricgateway" -}}
- {{- $name := ( include "common.name.nonrtricgateway" . ) -}}
- {{- printf "container-%s" $name | trunc 63 | trimSuffix "-" -}}
+*/}}
+{{- define "common.ingressClassName" -}}
+ {{- if and .Values.global .Values.global.ingress -}}
+ {{- default "kong" .Values.global.ingress.ingressClass -}}
+ {{- else -}}
+ {{- print "kong" -}}
+ {{- end -}}