Update Helm charts
1. Remove init containers which don't seem to be required
2. Update AMF image
Change-Id: Ib36e9c06f229b982d1825a103e183797191a13ec
diff --git a/5g-control-plane/Chart.yaml b/5g-control-plane/Chart.yaml
index 421e7e5..3cea334 100644
--- a/5g-control-plane/Chart.yaml
+++ b/5g-control-plane/Chart.yaml
@@ -10,7 +10,7 @@
name: 5g-control-plane
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.7.10
+version: 0.7.11
dependencies:
- name: mongodb
diff --git a/5g-control-plane/templates/deployment-amf.yaml b/5g-control-plane/templates/deployment-amf.yaml
index a43e695..e91b188 100644
--- a/5g-control-plane/templates/deployment-amf.yaml
+++ b/5g-control-plane/templates/deployment-amf.yaml
@@ -32,6 +32,10 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
+ {{- if .Values.config.coreDump.enabled }}
+ initContainers:
+ {{ tuple "amf" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ {{- end }}
containers:
- name: amf
image: {{ .Values.images.repository }}{{ .Values.images.tags.amf }}
diff --git a/5g-control-plane/templates/deployment-ausf.yaml b/5g-control-plane/templates/deployment-ausf.yaml
index da8fcfa..b5083e0 100644
--- a/5g-control-plane/templates/deployment-ausf.yaml
+++ b/5g-control-plane/templates/deployment-ausf.yaml
@@ -35,12 +35,8 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-ausf-module2
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup ausf; do echo waiting for ausf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
+ initContainers:
{{ tuple "ausf" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
diff --git a/5g-control-plane/templates/deployment-nrf.yaml b/5g-control-plane/templates/deployment-nrf.yaml
index d377920..9e95798 100644
--- a/5g-control-plane/templates/deployment-nrf.yaml
+++ b/5g-control-plane/templates/deployment-nrf.yaml
@@ -35,10 +35,10 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- {{- if .Values.config.coreDump.enabled }}
+ {{- if .Values.config.coreDump.enabled }}
initContainers:
-{{ tuple "nrf" . | include "5g-control-plane.coredump_init" | indent 6 }}
- {{- end }}
+ {{ tuple "nrf" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ {{- end }}
containers:
- name: nrf
image: {{ .Values.images.repository }}{{ .Values.images.tags.nrf }}
diff --git a/5g-control-plane/templates/deployment-nssf.yaml b/5g-control-plane/templates/deployment-nssf.yaml
index a5f3061..0397d54 100644
--- a/5g-control-plane/templates/deployment-nssf.yaml
+++ b/5g-control-plane/templates/deployment-nssf.yaml
@@ -33,13 +33,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-nssf-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup nssf; do echo waiting for nssf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "nssf" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "nssf" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: nssf
diff --git a/5g-control-plane/templates/deployment-pcf.yaml b/5g-control-plane/templates/deployment-pcf.yaml
index 67e6c2f..91eebc5 100644
--- a/5g-control-plane/templates/deployment-pcf.yaml
+++ b/5g-control-plane/templates/deployment-pcf.yaml
@@ -33,14 +33,10 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
+ {{- if .Values.config.coreDump.enabled }}
initContainers:
- - name: wait-pcf-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup pcf; do echo waiting for pcf; sleep 4; done;']
- {{- if .Values.config.coreDump.enabled }}
-{{ tuple "pcf" . | include "5g-control-plane.coredump_init" | indent 6 }}
- {{- end }}
+ {{ tuple "pcf" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ {{- end }}
containers:
- name: pcf
image: {{ .Values.images.repository }}{{ .Values.images.tags.pcf }}
diff --git a/5g-control-plane/templates/deployment-sctplb.yaml b/5g-control-plane/templates/deployment-sctplb.yaml
index 74aeb36..945a7b7 100644
--- a/5g-control-plane/templates/deployment-sctplb.yaml
+++ b/5g-control-plane/templates/deployment-sctplb.yaml
@@ -33,13 +33,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-nrf-module
- image: {{ .Values.images.tags.init | quote }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup nrf; do echo waiting for nrf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "sctplb" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "sctplb" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: sctplb
diff --git a/5g-control-plane/templates/deployment-smf.yaml b/5g-control-plane/templates/deployment-smf.yaml
index 6b9dce0..971c5bd 100644
--- a/5g-control-plane/templates/deployment-smf.yaml
+++ b/5g-control-plane/templates/deployment-smf.yaml
@@ -35,13 +35,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-smf-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup smf; do echo waiting for smf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "smf" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "smf" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: smf
diff --git a/5g-control-plane/templates/deployment-udm.yaml b/5g-control-plane/templates/deployment-udm.yaml
index 30062bf..36a6bdd 100644
--- a/5g-control-plane/templates/deployment-udm.yaml
+++ b/5g-control-plane/templates/deployment-udm.yaml
@@ -33,17 +33,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-udm-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup udm; do echo waiting for udm; sleep 4; done;']
- - name: wait-udr-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup udr; do echo waiting for udr; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "udm" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "udm" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: udm
diff --git a/5g-control-plane/templates/deployment-udr.yaml b/5g-control-plane/templates/deployment-udr.yaml
index 81b914c..ac347d3 100644
--- a/5g-control-plane/templates/deployment-udr.yaml
+++ b/5g-control-plane/templates/deployment-udr.yaml
@@ -33,13 +33,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-udr-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup udr; do echo waiting for udr; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "udr" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "udr" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: udr
diff --git a/5g-control-plane/templates/deployment-webui.yaml b/5g-control-plane/templates/deployment-webui.yaml
index f023a13..142b9ff 100644
--- a/5g-control-plane/templates/deployment-webui.yaml
+++ b/5g-control-plane/templates/deployment-webui.yaml
@@ -32,13 +32,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-webui-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup webui; do echo waiting for webui; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "webui" . | include "5g-control-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "webui" . | include "5g-control-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: webui
diff --git a/5g-control-plane/values.yaml b/5g-control-plane/values.yaml
index 8ddcf66..ae2186c 100644
--- a/5g-control-plane/values.yaml
+++ b/5g-control-plane/values.yaml
@@ -7,7 +7,7 @@
repository: "" #default docker hub
tags:
init: omecproject/pod-init:1.0.0
- amf: omecproject/5gc-amf:master-c132f0d
+ amf: omecproject/5gc-amf:master-6766d15
nrf: omecproject/5gc-nrf:master-5200cf8
smf: omecproject/5gc-smf:master-9498f2d
ausf: omecproject/5gc-ausf:master-1890449
diff --git a/5g-ran-sim/Chart.yaml b/5g-ran-sim/Chart.yaml
index 063f1ee..64d1cba 100644
--- a/5g-ran-sim/Chart.yaml
+++ b/5g-ran-sim/Chart.yaml
@@ -8,4 +8,4 @@
name: 5g-ran-sim
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.5.4
+version: 0.5.5
diff --git a/5g-ran-sim/templates/statefulset-gnbsim.yaml b/5g-ran-sim/templates/statefulset-gnbsim.yaml
index 090e66e..f003d64 100644
--- a/5g-ran-sim/templates/statefulset-gnbsim.yaml
+++ b/5g-ran-sim/templates/statefulset-gnbsim.yaml
@@ -47,14 +47,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
-
- initContainers:
- - name: wait-amf-module
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup amf; do echo waiting for nrf; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "gnbsim" . | include "5g-ransim-plane.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "gnbsim" . | include "5g-ransim-plane.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: gnbsim
diff --git a/omec-sub-provision/Chart.yaml b/omec-sub-provision/Chart.yaml
index eedfdf4..0140bee 100644
--- a/omec-sub-provision/Chart.yaml
+++ b/omec-sub-provision/Chart.yaml
@@ -8,4 +8,4 @@
name: omec-sub-provision
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.5.1
+version: 0.5.2
diff --git a/omec-sub-provision/templates/deployment-simapp.yaml b/omec-sub-provision/templates/deployment-simapp.yaml
index 2ed0840..08bc336 100644
--- a/omec-sub-provision/templates/deployment-simapp.yaml
+++ b/omec-sub-provision/templates/deployment-simapp.yaml
@@ -35,13 +35,9 @@
imagePullSecrets:
{{ toYaml .Values.images.pullSecrets | indent 8 }}
{{- end }}
- initContainers:
- - name: wait-simapp-module2
- image: {{ .Values.images.repository }}{{ .Values.images.tags.init }}
- imagePullPolicy: {{ .Values.images.pullPolicy }}
- command: ['sh', '-c', 'until nslookup simapp; do echo waiting for simapp; sleep 4; done;']
{{- if .Values.config.coreDump.enabled }}
-{{ tuple "simapp" . | include "omec-sub-provision.coredump_init" | indent 6 }}
+ initContainers:
+ {{ tuple "simapp" . | include "omec-sub-provision.coredump_init" | indent 6 }}
{{- end }}
containers:
- name: simapp