Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Remove the default override value (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Emeis committed Sep 20, 2019
1 parent fe3f6cb commit cab2ce2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/wksctl/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/weaveworks/wksctl/pkg/specs"
"github.com/weaveworks/wksctl/pkg/utilities/kubeadm"
"github.com/weaveworks/wksctl/pkg/utilities/manifest"
"github.com/weaveworks/wksctl/pkg/version"
)

// Cmd represents the apply command
Expand Down Expand Up @@ -57,7 +56,7 @@ func init() {
Cmd.Flags().BoolVar(&globalParams.verbose, "verbose", false, "Enable verbose output")

// Hide controller-image flag as it is a helper/debug flag.
Cmd.Flags().StringVar(&globalParams.controllerImage, "controller-image", "quay.io/wksctl/controller:"+version.ImageTag, "Controller image override")
Cmd.Flags().StringVar(&globalParams.controllerImage, "controller-image", "", "Controller image override")
Cmd.Flags().MarkHidden("controller-image")
}

Expand Down

0 comments on commit cab2ce2

Please sign in to comment.