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
klog.Warningf("Failed to read release metadata to determine OpenShift version for this CVO (will use placeholder version %q): %v", featuregates.StubOpenShiftVersion, err)
235
+
returnfeaturegates.StubOpenShiftVersion
236
+
}
237
+
238
+
ifreleaseMetadata.Version=="" {
239
+
klog.Warningf("Version missing from release metadata, cannot determine OpenShift version for this CVO (will use placeholder version %q)", featuregates.StubOpenShiftVersion)
240
+
returnfeaturegates.StubOpenShiftVersion
241
+
}
242
+
243
+
klog.Infof("Determined OpenShift version for this CVO: %q", releaseMetadata.Version)
klog.Infof("FeatureGate found in cluster, using its feature set %q at startup", startingFeatureSet)
283
+
returntrue, nil
284
+
}
285
+
}); err!=nil {
286
+
iflastError!=nil {
287
+
return"", nil, lastError
288
+
}
289
+
return"", nil, err
290
+
}
291
+
292
+
ifcvoGates.UnknownVersion() {
293
+
klog.Warningf("CVO features for version %s could not be detected from FeatureGate; will use defaults plus special UnknownVersion feature gate", cvoOpenShiftVersion)
294
+
}
295
+
klog.Infof("CVO features for version %s enabled at startup: %+v", cvoOpenShiftVersion, cvoGates)
296
+
297
+
returnstartingFeatureSet, &cvoGates, nil
298
+
}
299
+
240
300
// run launches a number of goroutines to handle manifest application,
241
301
// metrics serving, etc. It continues operating until ctx.Done(),
242
302
// and then attempts a clean shutdown limited by an internal context
0 commit comments