New changes in gnb deployments
1. Support for singleInterface or multiInterface deployment
2. Routes are added only in case of singleInterface=false.
Routes are taken through networkTopo config.
3. ability to change defaultAs IP address.
Change-Id: I7581a6555d7c90e479f18d84b477d13864cd211a
diff --git a/5g-ran-sim/templates/statefulset-gnbsim.yaml b/5g-ran-sim/templates/statefulset-gnbsim.yaml
index 7c2827d..88a0146 100644
--- a/5g-ran-sim/templates/statefulset-gnbsim.yaml
+++ b/5g-ran-sim/templates/statefulset-gnbsim.yaml
@@ -23,6 +23,7 @@
metadata:
labels:
{{ tuple "gnbsim" . | include "5g-ransim-plane.metadata_labels" | indent 8 }}
+{{- if not .Values.config.gnbsim.singleInterface }}
annotations:
k8s.v1.cni.cncf.io/networks: '[
{
@@ -35,6 +36,7 @@
{{- end }}
}
]'
+{{- end }}
spec:
{{- if .Values.nodeSelectors.enabled }}
nodeSelector: