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
gcIntervaluint16// max value is 65535 minutes (~ 45 days) which is well under the maximum time.Duration
98
94
concurrentint
99
-
awsAutoLoginbool
100
-
gcpAutoLoginbool
101
-
azureAutoLoginbool
102
95
aclOptions acl.Options
103
96
rateLimiterOptions helper.RateLimiterOptions
104
97
featureGates feathelper.FeatureGates
@@ -113,11 +106,6 @@ func main() {
113
106
flag.Uint16Var(&gcInterval, "gc-interval", 10, "The number of minutes to wait between garbage collections. 0 disables the garbage collector.")
114
107
flag.IntVar(&concurrent, "concurrent", 4, "The number of concurrent resource reconciles.")
115
108
116
-
// NOTE: Deprecated flags.
117
-
flag.BoolVar(&awsAutoLogin, "aws-autologin-for-ecr", false, "(AWS) Attempt to get credentials for images in Elastic Container Registry, when no secret is referenced")
118
-
flag.BoolVar(&gcpAutoLogin, "gcp-autologin-for-gcr", false, "(GCP) Attempt to get credentials for images in Google Container Registry, when no secret is referenced")
119
-
flag.BoolVar(&azureAutoLogin, "azure-autologin-for-acr", false, "(Azure) Attempt to get credentials for images in Azure Container Registry, when no secret is referenced")
120
-
121
109
clientOptions.BindFlags(flag.CommandLine)
122
110
logOptions.BindFlags(flag.CommandLine)
123
111
leaderElectionOptions.BindFlags(flag.CommandLine)
@@ -131,12 +119,6 @@ func main() {
131
119
132
120
logger.SetLogger(logger.NewLogger(logOptions))
133
121
134
-
ifawsAutoLogin||gcpAutoLogin||azureAutoLogin {
135
-
setupLog.Error(errors.New("use of deprecated flags"),
136
-
"autologin flags have been deprecated. These flags will be removed in a future release."+
137
-
" Please update the respective ImageRepository objects with .spec.provider field.")
0 commit comments