Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
450 commits
Select commit Hold shift + click to select a range
c5bc44b
Update 5gran-deploy.yaml
fenar May 10, 2022
8d84267
Update 5gran-deploy.yaml
fenar May 10, 2022
47a1fce
Update 5gran-deploy.yaml
fenar May 10, 2022
dd7bdfa
Update 5gran-deploy.yaml
fenar May 10, 2022
9f9b945
Update 5gran-deploy.yaml
fenar May 10, 2022
774fc42
Update 5gran-deploy.yaml
fenar May 10, 2022
60f76a2
Update 5gran-deploy.yaml
fenar May 10, 2022
c8e54f9
Update 5gran-deploy.yaml
fenar May 10, 2022
847d7f0
Update 5gran-deploy.yaml
fenar May 10, 2022
5ba8a0b
Update 5gran-deploy.yaml
fenar May 10, 2022
80b2389
Update 5gran-deploy.yaml
fenar May 10, 2022
ff9a9af
Update 5gran-deploy.yaml
fenar May 10, 2022
743f1a0
Update 5gran-deploy.yaml
fenar May 10, 2022
79f0990
Update 5gran-deploy.yaml
fenar May 10, 2022
865f6f5
Update 5gran-deploy.yaml
fenar May 10, 2022
ed5fe89
Update 5gran-deploy.yaml
fenar May 10, 2022
af72b67
Update 5gran-deploy.yaml
fenar May 10, 2022
28f19a1
Create scc.yaml
fenar May 13, 2022
59da326
Update scc.yaml
fenar May 13, 2022
bf12dd3
Update scc.yaml
fenar May 13, 2022
61567d6
Update scc.yaml
fenar May 13, 2022
64141ee
Create scc.yaml
fenar May 13, 2022
f5ec83d
Update 5gran-deploy.yaml
fenar May 13, 2022
be050ff
Create project.yaml
fenar May 13, 2022
e48182c
Update 5gran-deploy.yaml
fenar May 13, 2022
b17ddc8
Delete scc.yaml
fenar May 13, 2022
4d987ea
Update 5gran-deploy.yaml
fenar May 13, 2022
14a3b4b
Delete scc.yaml
fenar May 13, 2022
ca3e271
Update 5gran-deploy.yaml
fenar May 13, 2022
5e6406c
Update 5gran-deploy.yaml
fenar May 13, 2022
ac039f1
Delete project.yaml
fenar May 13, 2022
9c87cf9
Update 5gran-ue-configmap.bak
fenar May 13, 2022
f91e4de
Update upf-deploy.yaml
fenar May 13, 2022
7808cb4
Update upf-configmap.yaml
fenar May 13, 2022
cb07c83
Update upf-configmap.yaml
fenar May 13, 2022
6a12ea5
Update 5gran-deploy.yaml
fenar May 13, 2022
b4b5517
Update 5gran-deploy.yaml
fenar May 13, 2022
df15f78
Update upf-deploy.yaml
fenar May 13, 2022
634c96f
Update 5gran-deploy.yaml
fenar May 13, 2022
f42cf33
Update upf-configmap.yaml
fenar May 13, 2022
edd64c1
Update upf-configmap.yaml
fenar May 13, 2022
5f771b0
Update upf-deploy.yaml
fenar May 13, 2022
bd1738f
Update upf-deploy.yaml
fenar May 13, 2022
4b6e5b0
Update upf-configmap.yaml
fenar May 13, 2022
ae4b8a6
Update upf-configmap.yaml
fenar May 13, 2022
9454316
Update upf-configmap.yaml
fenar May 13, 2022
a56d14e
Update smf-configmap.yaml
fenar May 13, 2022
f2bfca6
Update smf-configmap.yaml
fenar May 13, 2022
a301996
Update upf-configmap.yaml
fenar May 13, 2022
2df2391
Update smf-configmap.yaml
fenar May 13, 2022
31e2557
Update 5gran-deploy.yaml
fenar May 13, 2022
d3bc897
Update 5gran-deploy.yaml
fenar May 13, 2022
623701f
Update smf-configmap.yaml
fenar May 13, 2022
39d023f
Update upf-configmap.yaml
fenar May 13, 2022
1977a92
Update smf-configmap.yaml
fenar May 13, 2022
875ce3e
Update upf-deploy.yaml
fenar May 14, 2022
38b4aa3
Update upf-deploy.yaml
fenar May 14, 2022
5de67cb
Update upf-deploy.yaml
fenar May 14, 2022
06b4b70
Update upf-deploy.yaml
fenar May 14, 2022
279ca22
Update upf-deploy.yaml
fenar May 14, 2022
a54311d
Update upf-deploy.yaml
fenar May 14, 2022
dd9468d
Update 5gran-deploy.yaml
fenar May 14, 2022
1ef6c9f
Update 5gran-deploy.yaml
fenar May 14, 2022
9e159f8
Update 5gran-deploy.yaml
fenar May 14, 2022
dc7446b
Update 5gran-deploy.yaml
fenar May 14, 2022
edab82a
Update 5gran-deploy.yaml
fenar May 14, 2022
8e1bff4
Update 5gran-deploy.yaml
fenar May 14, 2022
dc2e51e
Update 5gran-deploy.yaml
fenar May 14, 2022
17e2ec8
Update 5gran-deploy.yaml
fenar May 14, 2022
5919a1c
Update 5gran-deploy.yaml
fenar May 14, 2022
5ea951c
Update values.yaml
fenar May 15, 2022
c88cb25
Update upf-deploy.yaml
fenar May 15, 2022
c8397de
Update values.yaml
fenar May 15, 2022
3381f47
Update values.yaml
fenar May 15, 2022
633f9c1
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
51af917
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
d8b979a
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
b504e85
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
a93b6e7
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
c6581d3
Update values.yaml
fenar May 15, 2022
e38f428
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
52b4e9d
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
827fa03
Update values.yaml
fenar May 15, 2022
9108552
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
6daddba
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
2002f30
Update values.yaml
fenar May 15, 2022
580e9eb
Update 5gran-gnb-configmap.yaml
fenar May 15, 2022
69090e6
Update values.yaml
fenar May 15, 2022
d016924
Update values.yaml
fenar May 15, 2022
f497d05
Update 5gran-ue-configmap.yaml
fenar May 15, 2022
617715c
Update 5gran-ue-configmap.yaml
fenar May 15, 2022
7279a4e
Update upf-deploy.yaml
fenar May 15, 2022
7b2f116
Update 5gran-ue-configmap.yaml
fenar May 15, 2022
741afe1
Update 5gran-ue-configmap.yaml
fenar May 15, 2022
762f141
Update upf-deploy.yaml
fenar May 15, 2022
413c465
Update upf-deploy.yaml
fenar May 15, 2022
35b8e3f
Update upf-deploy.yaml
fenar May 15, 2022
dc94299
Update upf-deploy.yaml
fenar May 15, 2022
63a1b6e
Update upf-deploy.yaml
fenar May 15, 2022
b0adb95
Update upf-deploy.yaml
fenar May 15, 2022
00f9243
Update upf-deploy.yaml
fenar May 15, 2022
1bdaf23
Update upf-deploy.yaml
fenar May 15, 2022
da7c72b
Update upf-deploy.yaml
fenar May 15, 2022
5e79866
Update upf-deploy.yaml
fenar May 15, 2022
a1dae32
Update upf-deploy.yaml
fenar May 15, 2022
fc1ab1c
Update upf-configmap.yaml
fenar May 15, 2022
bedfecf
Update values.yaml
fenar May 15, 2022
5c915a4
Update values.yaml
fenar May 15, 2022
f1c3037
Create deploy-prodmesh.sh
fenar May 23, 2022
e197ddf
Create prod1-iss.yaml
fenar May 23, 2022
78e5669
Create prod1-smcp.yaml
fenar May 23, 2022
0b4af59
Create prod1-smmr.yaml
fenar May 23, 2022
e981151
Update prod1-smmr.yaml
fenar May 23, 2022
53fe11d
Create prod1-smp.yaml
fenar May 23, 2022
1024805
Create prod2-mesh-ca-root-cert.yaml
fenar May 23, 2022
4e38eb7
Create prod1-vs-mirror-details.yaml
fenar May 23, 2022
8548d2a
Create prod1-vs-split-details.yaml
fenar May 23, 2022
353d9d7
Rename deploy-prodmesh.sh to deploy-prod1mesh.sh
fenar May 23, 2022
30e83c2
Update prod1-vs-split-details.yaml
fenar May 23, 2022
073c1c3
Create intro.txt
fenar May 23, 2022
489fe20
Create intro.txt
fenar May 23, 2022
b47006c
Create intro.txt
fenar May 23, 2022
48bd175
commit
May 23, 2022
d205fee
Delete intro.txt
fenar May 23, 2022
bc03264
Delete intro.txt
fenar May 23, 2022
29a816a
Update deploy-prod2mesh.sh
fenar May 23, 2022
26e3546
Create deploy-prod1-5gcore.sh
fenar May 23, 2022
9136b12
Create deploy-prod2-5gcore.sh
fenar May 23, 2022
ebc9978
Update deploy-prod1mesh.sh
fenar May 23, 2022
db2509a
Update deploy-prod2mesh.sh
fenar May 23, 2022
299d16a
Create README.md
fenar May 23, 2022
676fd2b
Rename deploy-prod1mesh.sh to 0-deploy-prod1mesh.sh
fenar May 23, 2022
a920dcd
Rename deploy-prod2mesh.sh to 0-deploy-prod2mesh.sh
fenar May 23, 2022
1ba841e
Update README.md
fenar May 23, 2022
6d7e307
Delete 0-deploy-prod1mesh.sh
fenar May 23, 2022
af393db
Delete 0-deploy-prod2mesh.sh
fenar May 23, 2022
afba581
Update prod1-mesh-ca-root-cert.yaml
fenar May 23, 2022
6e929be
Update and rename prod2-iss.yaml to prod2-ess.yaml
fenar May 23, 2022
57765b0
Update prod2-smcp.yaml
fenar May 23, 2022
88fcdc2
Update prod2-smmr.yaml
fenar May 23, 2022
c9b4da9
Update prod2-smp.yaml
fenar May 23, 2022
b7b71c9
Update prod2-vs-mirror-details.yaml
fenar May 23, 2022
5bff96d
Update prod2-vs-split-details.yaml
fenar May 23, 2022
451c246
Update prod2-vs-mirror-details.yaml
fenar May 23, 2022
6ab00c0
Delete deploy-prod2-5gcore.sh
fenar May 23, 2022
0558ccc
Delete prod2-vs-split-details.yaml
fenar May 23, 2022
61912fd
Delete prod2-vs-mirror-details.yaml
fenar May 23, 2022
677f53f
Create prod2-amf-v2.yaml
fenar May 23, 2022
922fb18
Delete prod1-vs-split-details.yaml
fenar May 23, 2022
94fdbf1
Create deploy-federated5gcore.sh
fenar May 23, 2022
81afc25
Delete README.md
fenar May 23, 2022
7db2601
Update deploy-federated5gcore.sh
fenar May 23, 2022
1104e4a
Rename prod1-smcp.yaml to smcp.yaml
fenar May 23, 2022
36e1fc2
Rename prod1-smmr.yaml to smmr.yaml
fenar May 23, 2022
974c031
Rename prod1-smp.yaml to smp.yaml
fenar May 23, 2022
7464d54
Rename prod1-iss.yaml to iss.yaml
fenar May 23, 2022
7a2b1bf
Update deploy-prod1-5gcore.sh
fenar May 23, 2022
861a9c3
Update and rename prod1-vs-mirror-details.yaml to vs-mirror-details.yaml
fenar May 23, 2022
3855a70
Update and rename prod2-mesh-ca-root-cert.yaml to mesh-ca-root-cert.yaml
fenar May 23, 2022
b1b552f
Update deploy-federated5gcore.sh
fenar May 23, 2022
83414d0
Update deploy-federated5gcore.sh
fenar May 23, 2022
9ff20d3
Rename prod2-smmr.yaml to smmr.yaml
fenar May 23, 2022
c35d355
Rename prod2-smcp.yaml to smcp.yaml
fenar May 23, 2022
957745c
Rename prod2-ess.yaml to ess.yaml
fenar May 23, 2022
d7472b2
Rename prod2-smp.yaml to smp.yaml
fenar May 23, 2022
6959e39
Rename prod1-mesh-ca-root-cert.yaml to mesh-ca-root-cert.yaml
fenar May 23, 2022
1835826
Rename prod2-amf-v2.yaml to amf-v2-deploy.yaml
fenar May 23, 2022
e0b2613
Create amf-v2-configmap.yaml
fenar May 23, 2022
f5fa8dd
Update amf-v2-configmap.yaml
fenar May 23, 2022
ba22521
Update deploy-federated5gcore.sh
fenar May 23, 2022
20d6592
Update deploy-federated5gcore.sh
fenar May 23, 2022
e20cc12
Create upf-v2-configmap.yaml
fenar May 23, 2022
c7077ab
Update upf-v2-configmap.yaml
fenar May 23, 2022
0a13fc4
Update amf-v2-configmap.yaml
fenar May 23, 2022
ac7f331
Update amf-v2-deploy.yaml
fenar May 23, 2022
633c961
Update amf-v2-deploy.yaml
fenar May 23, 2022
3e5b89b
Create upf-v2-deploy.yaml
fenar May 23, 2022
f581e1e
Update amf-v2-deploy.yaml
fenar May 23, 2022
5f3e75a
Update amf-v2-configmap.yaml
fenar May 23, 2022
b1b5bf2
Update deploy-federated5gcore.sh
fenar May 23, 2022
2ea1837
Update amf-v2-configmap.yaml
fenar May 23, 2022
af76950
Create README.md
fenar May 23, 2022
c7eb414
Update smcp.yaml
fenar May 23, 2022
d0ed881
Update deploy-federated5gcore.sh
fenar May 23, 2022
75db1ec
Update deploy-federated5gcore.sh
fenar May 23, 2022
72a6341
Delete 5gcore/mesh directory
fenar May 24, 2022
eb0f200
Update web-ui-deploy.yaml
fenar Jun 2, 2022
c97ab32
Update web-ui-deploy.yaml
fenar Jun 2, 2022
4554041
Update web-ui-deploy.yaml
fenar Jun 2, 2022
180b3a2
Create debug-app.yaml
fenar Jun 27, 2022
3836db0
Create speedtest.yaml
fenar Aug 29, 2022
b4a1eb6
Update speedtest.yaml
fenar Aug 29, 2022
3d0367c
Update amf-deploy.yaml
fenar Jul 28, 2023
ecf9613
Update speedtest.yaml
fenar Jul 28, 2023
f205dcd
Create scc-admin.yaml
fenar Mar 7, 2024
898dff9
Update amf-deploy.yaml
fenar Mar 7, 2024
e84ae6d
Update ausf-deploy.yaml
fenar Mar 7, 2024
3427cbd
Update nrf-deploy.yaml
fenar Mar 7, 2024
3c4ff39
Update nssf-deploy.yaml
fenar Mar 7, 2024
e4cf79a
Update pcf-deploy.yaml
fenar Mar 7, 2024
89f738e
Update smf-deploy.yaml
fenar Mar 7, 2024
9aeb464
Update udm-deploy.yaml
fenar Mar 7, 2024
fb1e7b2
Update udr-deploy.yaml
fenar Mar 7, 2024
3cd52ed
Update upf-deploy.yaml
fenar Mar 7, 2024
82dbcbe
Update scc-admin.yaml
fenar May 6, 2024
cb27f18
Update 5gran-deploy.yaml
fenar May 6, 2024
9d7fcf6
Create SCC-AdminRoleBinding.yaml
fenar Aug 21, 2024
6168fee
Update values.yaml
fenar Aug 21, 2024
59e200b
Update 5gran-deploy.yaml
fenar Aug 21, 2024
deb3e04
Delete 5gran/templates/5gran-ue-configmap.bak
fenar Aug 21, 2024
a6d9f41
Delete 5gran/templates/5gran-gnb-configmap.bak
fenar Aug 21, 2024
6a5de81
Update 5gran-deploy.yaml
fenar Aug 21, 2024
1b07396
Update 5gran-deploy.yaml
fenar Aug 21, 2024
f42b9bd
Update 5gran-deploy.yaml
fenar Aug 21, 2024
d773f58
Update 5gran-deploy.yaml
fenar Aug 21, 2024
159e74d
Update 5gran-deploy.yaml
fenar Aug 21, 2024
1840f41
Update 5gran-deploy.yaml
fenar Aug 21, 2024
711fbfd
Update mongodb.yaml
fenar Aug 27, 2024
5130a99
Update web-ui-deploy.yaml
fenar Aug 29, 2024
212a1cd
Update mongodb.yaml
fenar Aug 29, 2024
02ed3b0
Update upf-deploy.yaml
fenar Aug 29, 2024
e234a54
Update upf-deploy.yaml
fenar Aug 29, 2024
61ba9f8
Update nrf-configmap.yaml
fenar May 1, 2025
cba1cb6
Update SCC-AdminRoleBinding.yaml
fenar May 1, 2025
6003c43
Update scc-admin.yaml
fenar May 1, 2025
48d4444
Update amf-configmap.yaml
fenar May 1, 2025
35a3d96
Update ausf-configmap.yaml
fenar May 1, 2025
29f37b7
Update nrf-configmap.yaml
fenar May 1, 2025
738a02e
Update nssf-configmap.yaml
fenar May 1, 2025
32962a8
Update pcf-configmap.yaml
fenar May 1, 2025
204ac22
Update smf-configmap.yaml
fenar May 1, 2025
b9769fe
Update udm-configmap.yaml
fenar May 1, 2025
5668245
Update udr-configmap.yaml
fenar May 1, 2025
84e1fa4
Update nrf-deploy.yaml
fenar May 1, 2025
840b8aa
Update nrf-deploy.yaml
fenar May 1, 2025
2798444
Update nrf-deploy.yaml
fenar May 1, 2025
41ee315
Update nrf-configmap.yaml
fenar May 1, 2025
e5adec0
Update nrf-deploy.yaml
fenar May 1, 2025
83a87ff
Delete 5gcore/templates/speedtest.yaml
fenar May 1, 2025
f07b084
Delete 5gcore/templates/debug-app.yaml
fenar May 1, 2025
d7fdb94
Update amf-deploy.yaml
fenar May 1, 2025
e317901
Update amf-configmap.yaml
fenar May 1, 2025
6c3dee5
Update ausf-deploy.yaml
fenar May 1, 2025
bb356d4
Update nssf-deploy.yaml
fenar May 1, 2025
3c0435c
Update pcf-deploy.yaml
fenar May 1, 2025
4dd772e
Update smf-deploy.yaml
fenar May 1, 2025
8b070a8
Update udm-deploy.yaml
fenar May 1, 2025
3f39b32
Update udr-deploy.yaml
fenar May 1, 2025
8ff2396
Update amf-configmap.yaml
fenar May 1, 2025
d32d18e
Update amf-deploy.yaml
fenar May 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions 5gcore/templates/SCC-AdminRoleBinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: default-scc-admin-binding
namespace: open5gcore
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: scc-admin
subjects:
- kind: ServiceAccount
name: default
namespace: open5gcore
7 changes: 3 additions & 4 deletions 5gcore/templates/amf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ data:
mnc: {{ .Values.amf.mnc }}
s_nssai:
- sst: 1
sd: 1
security:
integrity_order : [ NIA2, NIA1, NIA0 ]
ciphering_order : [ NEA0, NEA1, NEA2 ]
network_name:
full: Open5GS
amf_name: open5gs-amf0
amf_name: open5gs-amf
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
33 changes: 15 additions & 18 deletions 5gcore/templates/amf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,22 @@ spec:
epc-mode: amf
ports:
- protocol: SCTP
port: 38412
port: {{ .Values.cnf.amf.sctp.port }}
targetPort: 38412
nodePort: 30412
nodePort: {{ .Values.cnf.amf.sctp.nodeport }}
---
apiVersion: v1
kind: Service
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: open5gs-amf
labels:
epc-mode: amf
name: allow-sctp
spec:
type: NodePort
selector:
epc-mode: amf
ports:
- protocol: TCP
port: 80
targetPort: 80
nodePort: 30080
podSelector:
matchLabels:
epc-mode: amf
ingress:
- ports:
- protocol: SCTP
port: {{ .Values.cnf.amf.sctp.port }}
---
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
Expand All @@ -42,28 +39,28 @@ spec:
- ports:
- protocol: SCTP
port: 80
---
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: open5gs-amf-d
labels:
epc-mode: amf
spec:
replicas: 1
selector:
matchLabels:
epc-mode: amf
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: amf
spec:
containers:
- name: amf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-amfd", "-c", "/open5gs/config-map/amf.yaml"]
volumeMounts:
Expand Down
4 changes: 2 additions & 2 deletions 5gcore/templates/ausf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ data:
- addr: 0.0.0.0
advertise: open5gs-ausf
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
5 changes: 3 additions & 2 deletions 5gcore/templates/ausf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ metadata:
labels:
epc-mode: ausf
spec:
replicas: 1
#replicas: 1
selector:
matchLabels:
epc-mode: ausf
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: ausf
spec:
containers:
- name: ausf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-ausfd", "-c", "/open5gs/config-map/ausf.yaml"]
volumeMounts:
Expand Down
6 changes: 2 additions & 4 deletions 5gcore/templates/nrf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ metadata:
epc-mode: nrf
data:
nrf.yaml: |
#logger:
#file: /var/log/open5gs/nrf.log
nrf:
sbi:
addr: 0.0.0.0
sbi:
name: open5gs-nrf
9 changes: 5 additions & 4 deletions 5gcore/templates/nrf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@ metadata:
labels:
epc-mode: nrf
spec:
replicas: 1
#replicas: 1
selector:
matchLabels:
epc-mode: nrf
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "false"
labels:
epc-mode: nrf
spec:
containers:
- name: nrf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-nrfd", "-c", "/open5gs/config-map/nrf.yaml"]
command: ["open5gs-nrfd", "-d", "-c", "/open5gs/config-map/nrf.yaml"]
volumeMounts:
- name: open5gs-nrf-config
mountPath: /open5gs/config-map/nrf.yaml
Expand Down
4 changes: 2 additions & 2 deletions 5gcore/templates/nssf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ data:
s_nssai:
sst: 1
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
7 changes: 4 additions & 3 deletions 5gcore/templates/nssf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ metadata:
labels:
epc-mode: nssf
spec:
replicas: 1
#replicas: 1
selector:
matchLabels:
epc-mode: nssf
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: nssf
spec:
containers:
- name: nssf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-nssfd", "-c", "/open5gs/config-map/nssf.yaml"]
volumeMounts:
Expand All @@ -42,4 +43,4 @@ spec:
volumes:
- name: open5gs-nssf-config
configMap:
name: open5gs-nssf-config
name: open5gs-nssf-config
4 changes: 2 additions & 2 deletions 5gcore/templates/pcf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ data:
- addr: 0.0.0.0
advertise: open5gs-pcf
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
7 changes: 4 additions & 3 deletions 5gcore/templates/pcf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ metadata:
labels:
epc-mode: pcf
spec:
replicas: 1
#replicas: 1
selector:
matchLabels:
epc-mode: pcf
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: pcf
spec:
containers:
- name: pcf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-pcfd", "-c", "/open5gs/config-map/pcf.yaml"]
volumeMounts:
Expand All @@ -42,4 +43,4 @@ spec:
volumes:
- name: open5gs-pcf-config
configMap:
name: open5gs-pcf-config
name: open5gs-pcf-config
37 changes: 37 additions & 0 deletions 5gcore/templates/resource-limits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: "v1"
kind: "LimitRange"
metadata:
name: "resource-limits-pod"
spec:
limits:
- type: "Pod"
max:
cpu: "600"
memory: "2Gi"
min:
cpu: "10m"
memory: "4Mi"
maxLimitRequestRatio:
cpu: "100"
---
apiVersion: "v1"
kind: "LimitRange"
metadata:
name: "resource-limits-container"
spec:
limits:
- type: "Container"
max:
cpu: "300"
memory: "1Gi"
min:
cpu: "5m"
memory: "4Mi"
default:
cpu: "100m"
memory: "100Mi"
defaultRequest:
cpu: "100m"
memory: "100Mi"
maxLimitRequestRatio:
cpu: "300"
19 changes: 19 additions & 0 deletions 5gcore/templates/scc-admin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: scc-admin
allowPrivilegedContainer: true
runAsUser:
type: RunAsAny
seLinuxContext:
type: RunAsAny
fsGroup:
type: RunAsAny
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:open5gcore:scc-admin-sa
- system:serviceaccount:open5gcore:default
- my-admin-user
groups:
- my-admin-group
9 changes: 4 additions & 5 deletions 5gcore/templates/smf-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ data:
- addr: 0.0.0.0
advertise: open5gs-smf
pfcp:
dev: {{ .Values.k8s.interface }}
dev: {{ .Values.k8s.interface }}
gtpc:
dev: {{ .Values.k8s.interface }}
gtpu:
dev: {{ .Values.k8s.interface }}
dev: {{ .Values.k8s.tuninterface }}
subnet:
- addr: 10.45.0.1/16
dnn: {{ .Values.dnn }}
dns:
- 8.8.8.8
- 8.8.4.4
mtu: 1400
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
upf:
pfcp:
- name: open5gs-upf
Expand Down
6 changes: 3 additions & 3 deletions 5gcore/templates/smf-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ metadata:
labels:
epc-mode: smf
spec:
replicas: 1
selector:
matchLabels:
epc-mode: smf
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: smf
spec:
containers:
- name: smf
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["/bin/sh", "-c"]
args:
Expand All @@ -44,4 +44,4 @@ spec:
volumes:
- name: open5gs-smf-config
configMap:
name: open5gs-smf-config
name: open5gs-smf-config
4 changes: 2 additions & 2 deletions 5gcore/templates/udm-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ data:
- addr: 0.0.0.0
advertise: open5gs-udm
nrf:
sbi:
name: open5gs-nrf
sbi:
name: open5gs-nrf
5 changes: 3 additions & 2 deletions 5gcore/templates/udm-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ metadata:
labels:
epc-mode: udm
spec:
replicas: 1
#replicas: 1
selector:
matchLabels:
epc-mode: udm
template:
metadata:
annotations:
openshift.io/required-scc: "scc-admin"
sidecar.istio.io/inject: "true"
labels:
epc-mode: udm
spec:
containers:
- name: udm
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.tag }}"
image: "{{ .Values.open5gcore.image.repository }}:{{ .Values.open5gcore.image.oldtag }}"
imagePullPolicy: {{ .Values.open5gcore.image.pullPolicy }}
command: ["open5gs-udmd", "-c", "/open5gs/config-map/udm.yaml"]
volumeMounts:
Expand Down
Loading