Modify Helm charts, now SMF supports LoadBalancer for PFCP

This commit is contained in:
Borjis131
2024-12-05 13:47:15 +01:00
parent 7a533471e8
commit 0850c9de98
17 changed files with 42 additions and 28 deletions

View File

@@ -134,8 +134,8 @@ docker compose -f compose-files/basic/docker-compose.yaml --env-file=.env down
You can download the packaged charts from the repository or you can use the ones built by yourself.
Current `CHART_VERSION` value for the Open5GS chart is 0.3.2, using `OPEN5GS_VERSION` v2.7.2 as default.
The `CHART_VERSION` for individual charts is 0.3.1, using `OPEN5GS_VERSION` v2.7.2 as default.
Current `CHART_VERSION` value for the Open5GS chart is 0.3.3, using `OPEN5GS_VERSION` v2.7.2 as default.
The `CHART_VERSION` for individual charts is 0.3.2, using `OPEN5GS_VERSION` v2.7.2 as default.
To download a chart:
```bash

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: amf
description: Open5GS AMF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: ausf
description: Open5GS AUSF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: bsf
description: Open5GS BSF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: db
description: Open5GS DB Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "6.0.11"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: nrf
description: Open5GS NRF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: nssf
description: Open5GS NSSF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: open5gs
description: Open5GS deployment Helm chart
version: 0.3.2
version: 0.3.3
type: application
appVersion: "v2.7.2"
@@ -11,60 +11,60 @@ icon: https://open5gs.org/assets/img/open5gs-logo.png
dependencies:
- name: db
repository: file://../db
version: 0.3.1
version: 0.3.2
condition: db.enabled
- name: webui
repository: file://../webui
version: 0.3.1
version: 0.3.2
condition: webui.enabled
- name: nrf
repository: file://../nrf
version: 0.3.1
version: 0.3.2
condition: nrf.enabled
- name: ausf
repository: file://../ausf
version: 0.3.1
version: 0.3.2
condition: ausf.enabled
- name: bsf
repository: file://../bsf
version: 0.3.1
version: 0.3.2
condition: bsf.enabled
- name: nssf
repository: file://../nssf
version: 0.3.1
version: 0.3.2
condition: nssf.enabled
- name: pcf
repository: file://../pcf
version: 0.3.1
version: 0.3.2
condition: pcf.enabled
- name: udm
repository: file://../udm
version: 0.3.1
version: 0.3.2
condition: udm.enabled
- name: udr
repository: file://../udr
version: 0.3.1
version: 0.3.2
condition: udr.enabled
- name: amf
repository: file://../amf
version: 0.3.1
version: 0.3.2
condition: amf.enabled
- name: smf
repository: file://../smf
version: 0.3.1
version: 0.3.2
condition: smf.enabled
- name: upf
repository: file://../upf
version: 0.3.1
version: 0.3.2
condition: upf.enabled

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: pcf
description: Open5GS PCF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: smf
description: Open5GS SMF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -19,6 +19,9 @@ smf:
pfcp:
server:
- dev: eth0
{{- if eq .Values.services.pfcp.type "LoadBalancer" }}
advertise: {{ .Values.services.pfcp.loadBalancerIP }}
{{- end }}
client:
gtpu:
server:

View File

@@ -4,6 +4,10 @@ kind: Service
metadata:
name: {{ include "common.names.fullname" . }}-service-pfcp
namespace: {{ include "common.names.namespace" . }}
annotations:
{{- if eq .Values.services.pfcp.provider "MetalLB" }}
metallb.universe.tf/loadBalancerIPs: {{ .Values.services.pfcp.loadBalancerIP }}
{{- end }}
spec:
selector:
nf: smf
@@ -12,4 +16,4 @@ spec:
port: 8805
targetPort: 8805
protocol: UDP
type: ClusterIP
type: {{ .Values.services.pfcp.type }}

View File

@@ -6,6 +6,13 @@ image:
tag: "v2.7.2"
pullPolicy: IfNotPresent
services:
pfcp:
type: ClusterIP
#type: LoadBalancer
#loadBalancerIP: 10.33.0.3
#provider: MetalLB
config: {}
global:

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: udm
description: Open5GS UDM Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: udr
description: Open5GS UDR Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: upf
description: Open5GS UPF Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: webui
description: Open5GS WebUI Helm chart
version: 0.3.1
version: 0.3.2
type: application
appVersion: "v2.7.2"