Skip to content

Commit

Permalink
Updated free5gc smf package to align with r2 (#51)
Browse files Browse the repository at this point in the history
Updating packages to move into
[catalog](https://github.com/nephio-project/catalog/tree/main/workloads/free5gc)

Based on
[49](#49)
  • Loading branch information
lapentad authored Jan 12, 2024
1 parent 80753bf commit 549b9c4
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions pkg-example-smf-bp/Kptfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ pipeline:
configPath: apply-replacements-namespace.yaml
- image: gcr.io/kpt-fn/set-namespace:v0.4.1
configPath: cm-namespace.yaml
- image: docker.io/nephio/smf-deploy-fn:v1.0.1
- image: nephio/nfdeploy-fn:1729579664202010624
- image: docker.io/nephio/interface-fn:v1.0.1
- image: docker.io/nephio/dnn-fn:v1.0.1
- image: docker.io/nephio/nad-fn:v1.0.1
- image: docker.io/nephio/dnn-fn:v1.0.1
- image: docker.io/nephio/interface-fn:v1.0.1
- image: docker.io/nephio/smf-deploy-fn:v1.0.1
- image: nephio/nfdeploy-fn:1729579664202010624
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/apply-replacements-owner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ replacements:
fieldPath: spec.clusterName
targets:
- select:
kind: SMFDeployment
kind: NFDeployment
fieldPaths:
- metadata.name
options:
Expand Down
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/capacity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: control-plane
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
maxSessions: 500
Expand Down
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/dependency.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: upf
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
packageName: free5gc-upf
Expand Down
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/dnn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
name: internet
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/interface-n11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: n11
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
networkInstance:
Expand Down
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/interface-n4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: n4 # also used as pfcp
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
networkInstance:
Expand Down
2 changes: 1 addition & 1 deletion pkg-example-smf-bp/interface-sba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: sbi
annotations:
config.kubernetes.io/local-config: "true"
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.SMFDeployment.smf-example
specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.smf-example
specializer.nephio.org/namespace: example
spec:
networkInstance:
Expand Down
4 changes: 3 additions & 1 deletion pkg-example-smf-bp/smfdeployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apiVersion: workload.nephio.org/v1alpha1
kind: SMFDeployment
kind: NFDeployment
metadata:
name: smf-example
namespace: smf-example
spec:
provider: smf.free5gc.io

0 comments on commit 549b9c4

Please sign in to comment.