diff --git a/cmd/capd-manager/main.go b/cmd/capd-manager/main.go index f25c45d..6766589 100644 --- a/cmd/capd-manager/main.go +++ b/cmd/capd-manager/main.go @@ -37,7 +37,7 @@ import ( func main() { // Must set up klog for the cluster api loggers - klog.InitFlags(flag.CommandLine) + klog.InitFlags(nil) flag.Parse() log := klogr.New() diff --git a/objects/control_plane.go b/objects/control_plane.go index 12cd532..46dad8a 100644 --- a/objects/control_plane.go +++ b/objects/control_plane.go @@ -71,10 +71,8 @@ func GetStatefulSet(image string) apps.StatefulSet { { Name: "capd-manager", Image: image, - Command: []string{ - "capd-manager", - "-v=3", - "-logtostderr=true", + Args: []string{ + "-v", "3", }, VolumeMounts: []core.VolumeMount{ {