@@ -455,7 +455,12 @@ func New(config *rest.Config, options Options) (Manager, error) {
455
455
// any options already set on Options will be ignored, this is used to allow
456
456
// cli flags to override anything specified in the config file.
457
457
//
458
- // Deprecated: This function has been deprecated and will be removed in a future release.
458
+ // Deprecated: This function has been deprecated and will be removed in a future release,
459
+ // The Component Configuration package has been unmaintained for over a year and is no longer
460
+ // actively developed. Users should migrate to their own configuration format
461
+ // and configure Manager.Options directly.
462
+ // See https://github.com/kubernetes-sigs/controller-runtime/issues/895
463
+ // for more information, feedback, and comments.
459
464
func (o Options ) AndFrom (loader config.ControllerManagerConfiguration ) (Options , error ) {
460
465
newObj , err := loader .Complete ()
461
466
if err != nil {
@@ -515,7 +520,12 @@ func (o Options) AndFrom(loader config.ControllerManagerConfiguration) (Options,
515
520
516
521
// AndFromOrDie will use options.AndFrom() and will panic if there are errors.
517
522
//
518
- // Deprecated: This function has been deprecated and will be removed in a future release.
523
+ // Deprecated: This function has been deprecated and will be removed in a future release,
524
+ // The Component Configuration package has been unmaintained for over a year and is no longer
525
+ // actively developed. Users should migrate to their own configuration format
526
+ // and configure Manager.Options directly.
527
+ // See https://github.com/kubernetes-sigs/controller-runtime/issues/895
528
+ // for more information, feedback, and comments.
519
529
func (o Options ) AndFromOrDie (loader config.ControllerManagerConfiguration ) Options {
520
530
o , err := o .AndFrom (loader )
521
531
if err != nil {
0 commit comments