diff --git a/pkg/odstasktest/install.go b/pkg/odstasktest/install.go index 3c753a7e..1e31885b 100644 --- a/pkg/odstasktest/install.go +++ b/pkg/odstasktest/install.go @@ -1,7 +1,6 @@ package odstasktest import ( - "flag" "fmt" "os" "path/filepath" @@ -11,8 +10,6 @@ import ( ttr "github.com/opendevstack/ods-pipeline/pkg/tektontaskrun" ) -var privateCertFlag = flag.Bool("ods-private-cert", false, "Whether to use a private cert") - // InstallOptions configure the installation of ODS Pipeline. type InstallOptions struct { // PrivateCert specifies if services should be accessed through TLS @@ -23,7 +20,6 @@ type InstallOptions struct { // InstallODSPipeline installs the ODS Pipeline Helm chart in the namespace // given in NamespaceConfig. func InstallODSPipeline(opts *InstallOptions) ttr.NamespaceOpt { - flag.Parse() if opts != nil { opts = &InstallOptions{PrivateCert: false} }