File tree Expand file tree Collapse file tree 5 files changed +7
-45
lines changed
Expand file tree Collapse file tree 5 files changed +7
-45
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ description: SD-Core 5G control plane services
1010name : 5g-control-plane
1111icon : https://guide.opencord.org/logos/cord.svg
1212
13- version : 3.1.6
13+ version : 3.1.7
1414
1515dependencies :
1616 - name : mongodb
Original file line number Diff line number Diff line change 6060 stdin : true
6161 tty : true
6262 command : ["/opt/webui-run.sh"]
63- readinessProbe :
64- httpGet :
65- path : /config/v1/
66- port : {{ .Values.config.webui.urlport.port }}
67- scheme : HTTP
68- initialDelaySeconds : 10
69- periodSeconds : 5
70- timeoutSeconds : 3
71- successThreshold : 1
72- failureThreshold : 3
73- livenessProbe :
74- httpGet :
75- path : /config/v1/
76- port : {{ .Values.config.webui.urlport.port }}
77- scheme : HTTP
78- initialDelaySeconds : 30
79- periodSeconds : 10
80- timeoutSeconds : 3
81- successThreshold : 1
82- failureThreshold : 3
8363 {{- if .Values.resources.enabled }}
8464 resources :
8565{{ toYaml .Values.resources.webui | indent 10 }}
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ description: Mobile Sim Provisioning services
88name : omec-sub-provision
99icon : https://guide.opencord.org/logos/cord.svg
1010
11- version : 2.1.2
11+ version : 2.1.3
Original file line number Diff line number Diff line change @@ -40,28 +40,10 @@ spec:
4040{{ toYaml .Values.images.pullSecrets | indent 8 }}
4141 {{- end }}
4242 initContainers :
43- - name : wait-webui-ready
43+ - name : wait-simapp-module2
4444 image : {{ .Values.images.repository }}{{ .Values.images.tags.init }}
4545 imagePullPolicy : {{ .Values.images.pullPolicy }}
46- command :
47- - sh
48- - -c
49- - |
50- WEBUI_ADDR={{ index .Values.config.simapp.cfgFiles "simapp.yaml" "configuration" "sub-provision-endpt" "addr" }}
51- WEBUI_PORT={{ index .Values.config.simapp.cfgFiles "simapp.yaml" "configuration" "sub-provision-endpt" "port" }}
52- echo "Waiting for ${WEBUI_ADDR} service to be available..."
53- until nslookup ${WEBUI_ADDR}; do
54- echo "Waiting for ${WEBUI_ADDR} DNS resolution..."
55- sleep 2
56- done
57- echo "${WEBUI_ADDR} DNS resolved, checking HTTP endpoint readiness..."
58- until RESPONSE=$(wget --spider --timeout=2 -S http://${WEBUI_ADDR}:${WEBUI_PORT}/config/v1/ 2>&1) && echo "$RESPONSE" | grep -q "HTTP/"; do
59- echo "Waiting for ${WEBUI_ADDR} HTTP endpoint to be ready..."
60- echo "Endpoint check failed, response:"
61- echo "$RESPONSE" | head -n 5 || echo "Connection failed or timed out"
62- sleep 3
63- done
64- echo "${WEBUI_ADDR} is ready, starting simapp..."
46+ command : ['sh', '-c', 'until nslookup simapp; do echo waiting for simapp; sleep 4; done;']
6547 {{- if .Values.config.coreDump.enabled }}
6648 {{ tuple "simapp" . | include "omec-sub-provision.coredump_init" | indent 6 }}
6749 {{- end }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ name: sd-core
1010description : SD-Core control plane services
1111icon : https://guide.opencord.org/logos/cord.svg
1212type : application
13- version : 3.1.8
13+ version : 3.1.9
1414home : https://opennetworking.org/sd-core/
1515maintainers :
1616 - name : SD-Core Support
@@ -23,12 +23,12 @@ dependencies:
2323 condition : omec-control-plane.enable4G
2424
2525 - name : omec-sub-provision
26- version : 2.1.2
26+ version : 2.1.3
2727 repository : " file://../omec-sub-provision"
2828 condition : omec-sub-provision.enable
2929
3030 - name : 5g-control-plane
31- version : 3.1.6
31+ version : 3.1.7
3232 repository : " file://../5g-control-plane"
3333 condition : 5g-control-plane.enable5G
3434
You can’t perform that action at this time.
0 commit comments