From c8997e7fe064e0375e11079ebe6e45d3b19bf1ed Mon Sep 17 00:00:00 2001 From: Jacob Payne Date: Mon, 22 May 2023 14:40:10 -0700 Subject: [PATCH] removed unused args Signed-off-by: Jacob Payne --- main.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.go b/main.go index 7e22e5c..2978097 100644 --- a/main.go +++ b/main.go @@ -53,21 +53,12 @@ func main() { var enableLeaderElection bool var probeAddr string var serveImage, toolImage, copierImage string - var copyToPodLabel, copyToNamespace, copyToPath, copierRole string flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") - flag.StringVar(&copierImage, "copier-image", "quay.io/kairos/kubectl", "The image that is used to copy artifacts to the server pod.") - flag.StringVar(&serveImage, "serve-image", "nginx", "Serve image.") // It needs luet inside flag.StringVar(&toolImage, "tool-image", "quay.io/kairos/osbuilder-tools:latest", "Tool image.") - // Information on where to copy the artifacts - flag.StringVar(©ToPodLabel, "copy-to-pod-label", "", "The label of the Pod to which artifacts should be copied.") - flag.StringVar(©ToNamespace, "copy-to-namespace", "", "The namespace of the copy-to-pod-label Pod.") - flag.StringVar(©ToPath, "copy-to-path", "", "The path under which to copy artifacts in the copy-to-pod-label Pod.") - flag.StringVar(&copierRole, "copy-role", "", "The name or the Kubernetes Role that has the permissions to copy artifacts to the copy-to-pod-label Pod") - flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") flag.BoolVar(&enableLeaderElection, "leader-elect", false, "Enable leader election for controller manager. "+