Skip to content

Commit

Permalink
adds advertise field to open5gs-upf chart (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
avrodriguezgrad authored Feb 28, 2024
1 parent 5390ece commit e7221f2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/open5gs-upf/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainers:
- email: [email protected]
name: cgiraldo
name: open5gs-upf
version: 2.2.0
version: 2.2.1
annotations:
artifacthub.io/category: networking
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/open5gs-upf/resources/config/upf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ upf:
gtpu:
server:
- dev: {{ default "eth0" .Values.config.upf.gtpu.dev }}
{{- if .Values.config.upf.gtpu.advertise }}
advertise: "{{ tpl .Values.config.upf.gtpu.advertise . }}"
{{- end }}
session:
{{- range .Values.config.subnetList }}
- {{- omit . "createDev" "enableNAT" | toYaml | nindent 6 }}
Expand Down
1 change: 1 addition & 0 deletions charts/open5gs-upf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ config:
upf:
gtpu:
dev: ""
advertise: ""
subnetList:
- subnet: 10.45.0.1/16
dnn: internet
Expand Down
2 changes: 1 addition & 1 deletion charts/open5gs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ maintainers:
- email: [email protected]
name: cgiraldo
name: open5gs
version: 2.2.0
version: 2.2.1
annotations:
artifacthub.io/category: networking
keywords:
Expand Down
10 changes: 3 additions & 7 deletions charts/open5gs/scp-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ populate:
repository: gradiant/open5gs-dbctl
tag: 0.10.3
pullPolicy: IfNotPresent
initCommands: []
initCommands:
- open5gs-dbctl add_ue_with_slice 999700000000001 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111
- open5gs-dbctl add_ue_with_slice 999700000000002 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111
# example of initCommands:
# - open5gs-dbctl add 999700000000001 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA
# - open5gs-dbctl add_ue_with_apn 999700000000002 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet
Expand Down Expand Up @@ -126,9 +128,3 @@ scp:
enabled: true
mongodb:
enabled: false

populate:
enabled: true
initCommands:
- open5gs-dbctl add_ue_with_slice 999700000000001 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111
- open5gs-dbctl add_ue_with_slice 999700000000002 465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet 1 111111

0 comments on commit e7221f2

Please sign in to comment.