Skip to content

Commit

Permalink
Merge pull request #352 from tossmilestone/fix-controller-manager-mis…
Browse files Browse the repository at this point in the history
…sing

Fix 'controller-manager' binary not found
  • Loading branch information
k8s-ci-robot committed May 21, 2019
2 parents a6fc920 + 3ec2102 commit 27e35a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/apiserver-boot/boot/build/build_executables.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func GoBuild(cmd *cobra.Command, args []string) {

// Build the controller manager
path = filepath.Join("cmd", "manager", "main.go")
c = exec.Command("go", "build", "-o", filepath.Join(outputdir, "manager"), path)
c = exec.Command("go", "build", "-o", filepath.Join(outputdir, "controller-manager"), path)
c.Env = append(os.Environ(), "CGO_ENABLED=0")
if len(goos) > 0 {
c.Env = append(c.Env, fmt.Sprintf("GOOS=%s", goos))
Expand Down

0 comments on commit 27e35a0

Please sign in to comment.