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
@@ -86,7 +86,6 @@ type config struct {
86
86
enableLeaderElectionbool
87
87
probeAddrstring
88
88
cachePathstring
89
-
operatorControllerVersionbool
90
89
systemNamespacestring
91
90
catalogdCasDirstring
92
91
pullCasDirstring
@@ -120,7 +119,7 @@ var operatorControllerCmd = &cobra.Command{
120
119
121
120
varversionCommand=&cobra.Command{
122
121
Use: "version",
123
-
Short: "Prints version info of operator-controller",
122
+
Short: "Prints operator-controller version information",
124
123
Run: func(cmd*cobra.Command, args []string) {
125
124
fmt.Println(version.String())
126
125
},
@@ -140,7 +139,6 @@ func init() {
140
139
"Enable leader election for controller manager. "+
141
140
"Enabling this will ensure there is only one active controller manager.")
142
141
flags.StringVar(&cfg.cachePath, "cache-path", "/var/cache", "The local directory path used for filesystem based caching")
143
-
flags.BoolVar(&cfg.operatorControllerVersion, "version", false, "Prints operator-controller version information")
144
142
flags.StringVar(&cfg.systemNamespace, "system-namespace", "", "Configures the namespace that gets used to deploy system resources.")
145
143
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