Skip to content

Commit

Permalink
Remove private cert flag
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Sep 29, 2023
1 parent 4adef86 commit f4fa398
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/odstasktest/install.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package odstasktest

import (
"flag"
"fmt"
"os"
"path/filepath"
Expand All @@ -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
Expand All @@ -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}
}
Expand Down

0 comments on commit f4fa398

Please sign in to comment.