You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/operator-controller/main.go
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,6 @@ type config struct {
88
88
enableLeaderElectionbool
89
89
probeAddrstring
90
90
cachePathstring
91
-
operatorControllerVersionbool
92
91
systemNamespacestring
93
92
catalogdCasDirstring
94
93
pullCasDirstring
@@ -122,7 +121,7 @@ var operatorControllerCmd = &cobra.Command{
122
121
123
122
varversionCommand=&cobra.Command{
124
123
Use: "version",
125
-
Short: "Prints version info of operator-controller",
124
+
Short: "Prints operator-controller version information",
126
125
Run: func(cmd*cobra.Command, args []string) {
127
126
fmt.Println(version.String())
128
127
},
@@ -142,7 +141,6 @@ func init() {
142
141
"Enable leader election for controller manager. "+
143
142
"Enabling this will ensure there is only one active controller manager.")
144
143
flags.StringVar(&cfg.cachePath, "cache-path", "/var/cache", "The local directory path used for filesystem based caching")
145
-
flags.BoolVar(&cfg.operatorControllerVersion, "version", false, "Prints operator-controller version information")
146
144
flags.StringVar(&cfg.systemNamespace, "system-namespace", "", "Configures the namespace that gets used to deploy system resources.")
147
145
flags.StringVar(&cfg.globalPullSecret, "global-pull-secret", "", "The <namespace>/<name> of the global pull secret that is going to be used to pull bundle images.")
0 commit comments