From 42c6715425aae73082db0e5c20c3221a1f9872f0 Mon Sep 17 00:00:00 2001
From: turletti <turletti@gmail.com>
Date: Sun, 24 Mar 2024 11:21:52 +0100
Subject: [PATCH] set nrf ip in case of gnb-upf mode

---
 charts/oai-5g-core/oai-upf/templates/deployment.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/charts/oai-5g-core/oai-upf/templates/deployment.yaml b/charts/oai-5g-core/oai-upf/templates/deployment.yaml
index 1af98aa1..e706d010 100644
--- a/charts/oai-5g-core/oai-upf/templates/deployment.yaml
+++ b/charts/oai-5g-core/oai-upf/templates/deployment.yaml
@@ -72,7 +72,7 @@ spec:
           command: 
             - /bin/sh
             - -c
-            - until curl --connect-timeout {{ .Values.global.timeout }} --head -X GET http://{{ .Values.global.IpNRF }}/nnrf-nfm/v1/nf-instances?nf-type='NRF' {{ .Values.global.http2Param }}; do echo waiting for oai-nrf; sleep 1; done
+            - until curl --connect-timeout {{ .Values.global.timeout }} --head -X GET http://{{ .Values.global.IP_NRF }}/nnrf-nfm/v1/nf-instances?nf-type='NRF' {{ .Values.global.http2Param }}; do echo waiting for oai-nrf; sleep 1; done
     {{- end }}{{ end }}
       containers:
     {{- if .Values.includeTcpDumpContainer }}
-- 
GitLab