Skip to content

Commit

Permalink
fix: cloud-init cmd to include ns with apply
Browse files Browse the repository at this point in the history
Signed-off-by: aavarghese <[email protected]>
  • Loading branch information
aavarghese committed Aug 21, 2024
1 parent fe31915 commit 4d4c73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/be/ibmcloud/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func createInstance(vpcService *vpcv1.VpcV1, name string, ir llir.LLIR, c llir.C
RunCmd: []string{"sleep 10", //Minimum of 10 seconds needed for cluster to be able to run `apply`
"while ! kind get clusters | grep lunchpail; do sleep 2; done",
"echo 'Kind cluster is ready'",
"env HOME=/root kubectl apply -f /app.yaml"},
"env HOME=/root kubectl apply -f /app.yaml -n " + ir.Namespace},
}

instancePrototypeModel := &vpcv1.InstancePrototypeInstanceByImage{
Expand Down

0 comments on commit 4d4c73e

Please sign in to comment.