From 6d6581985757015d8336e240f5ee38b5f7b61971 Mon Sep 17 00:00:00 2001 From: Rohan <rohan.kharade@openairinterface.org> Date: Thu, 11 Aug 2022 22:25:27 +0000 Subject: [PATCH] Use AMF fqdn in gnb --- charts/oai-5g-ran/oai-gnb/templates/deployment.yaml | 10 ++++++++++ charts/oai-5g-ran/oai-gnb/values.yaml | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/oai-5g-ran/oai-gnb/templates/deployment.yaml b/charts/oai-5g-ran/oai-gnb/templates/deployment.yaml index 8435ae6d..941beb6d 100644 --- a/charts/oai-5g-ran/oai-gnb/templates/deployment.yaml +++ b/charts/oai-5g-ran/oai-gnb/templates/deployment.yaml @@ -125,6 +125,16 @@ spec: configMapKeyRef: name: {{ .Chart.Name }}-configmap key: amfIpAddress + - name: USE_FQDN + valueFrom: + configMapKeyRef: + name: {{ .Chart.Name }}-configmap + key: useFqdn + - name: AMF_FQDN + valueFrom: + configMapKeyRef: + name: {{ .Chart.Name }}-configmap + key: amfFqdn - name: GNB_NGA_IF_NAME valueFrom: configMapKeyRef: diff --git a/charts/oai-5g-ran/oai-gnb/values.yaml b/charts/oai-5g-ran/oai-gnb/values.yaml index e4bf37e0..bbf15835 100644 --- a/charts/oai-5g-ran/oai-gnb/values.yaml +++ b/charts/oai-5g-ran/oai-gnb/values.yaml @@ -83,7 +83,9 @@ config: nssaiSst: "1" #currently only 4 standard values are allowed 1,2,3,4 nssaiSd0: "0027db" #values in hexa-decimal format nssaiSd1: "112233" - amfIpAddress: "172.17.0.8" # amf ip-address + useFqdn: "true" + amfFqdn: "oai-amf-svc" + amfIpAddress: "0.0.0.0" # amf ip-address or service-name gnbNgaIfName: "eth0" # net1 in case multus create is true that means another interface is created for ngap interface, n2 to communicate with amf gnbNgaIpAddress: "status.podIP" # n2IPadd in case multus create is true gnbNguIfName: "eth0" #net2 in case multus create is true gtu interface for upf/spgwu -- GitLab