Skip to content

Commit

Permalink
added command segment
Browse files Browse the repository at this point in the history
  • Loading branch information
vireshnavalli committed May 26, 2023
1 parent bc2ee44 commit d780f83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions free5gc-operator/controllers/amfdeployment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ func free5gcAMFDeployment(log logr.Logger, amfDeploy *workloadv1alpha1.AMFDeploy
},
},

Command: []string{"./amf"},
Args: []string{"-c", "../config/amfcfg.yaml"},

Command: []string{
"sh", "-c", "set -x; do while [ $(curl --insecure --connect-timeout 1 -s -o /dev/null -w \"%{http_code}\" \"http://nrf-nnrf:8000\") -ne 200 ]; do echo waiting for dependencies; sleep 1; done;",
},
VolumeMounts: []apiv1.VolumeMount{
{
MountPath: "/free5gc/config/",
Expand Down

1 comment on commit d780f83

@Joshi4391
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code cannot run as it has dependencies on NRF (which has added in command segment).

Please sign in to comment.