Skip to content

Commit

Permalink
Merge pull request openservicemesh#2452 from shashankram/remove-unused
Browse files Browse the repository at this point in the history
injector: remove unused option
  • Loading branch information
shashankram authored Feb 3, 2021
2 parents a7ba597 + f526b2d commit c725427
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion cmd/osm-controller/osm-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ func init() {
flags.StringVar(&osmConfigMapName, "osm-configmap-name", "osm-config", "Name of the OSM ConfigMap")

// sidecar injector options
flags.BoolVar(&injectorConfig.DefaultInjection, "default-injection", true, "Enable sidecar injection by default")
flags.IntVar(&injectorConfig.ListenPort, "webhook-port", constants.InjectorWebhookPort, "Webhook port for sidecar-injector")
flags.StringVar(&injectorConfig.InitContainerImage, "init-container-image", "", "InitContainer image")
flags.StringVar(&injectorConfig.SidecarImage, "sidecar-image", "", "Sidecar proxy Container image")
Expand Down
3 changes: 0 additions & 3 deletions pkg/injector/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ type mutatingWebhook struct {

// Config is the type used to represent the config options for the sidecar injection
type Config struct {
// DefaultInjection defines whether sidecar injection is enabled by default
DefaultInjection bool

// ListenPort defines the port on which the sidecar injector listens
ListenPort int

Expand Down

0 comments on commit c725427

Please sign in to comment.