Supported for 2gnbs
Change-Id: I0cee1da8090f07151a980d3e7c0cc2bd71f74152
diff --git a/5g-ran-sim/templates/statefulset-gnbsim.yaml b/5g-ran-sim/templates/statefulset-gnbsim.yaml
index 7b4e371..cae9c64 100644
--- a/5g-ran-sim/templates/statefulset-gnbsim.yaml
+++ b/5g-ran-sim/templates/statefulset-gnbsim.yaml
@@ -26,11 +26,11 @@
{{- if not .Values.config.gnbsim.singleInterface }}
annotations:
k8s.v1.cni.cncf.io/networks: '[
- {
+ {
"name": "gnb-net",
"interface": "gnb",
{{- if semverCompare ">=1.16-0" .Capabilities.KubeVersion.GitVersion }}
- "ips": [{{ .Values.config.gnbsim.gnb.ip | quote }}]
+ "ips": [ {{ include "gnbiplist" .}} ]
{{- else }}
"ips": {{ .Values.config.gnbsim.gnb.ip | quote }}
{{- end }}