INNER CODE UNIT · Go

err

backube/volsync · cmd/main.go:367

		err = platform.InitTLSSecurityProfileWatcherWithManager(mgr, *tlsSecurityProfileSpec, setupLog, cancel)
		if err != nil {
			setupLog.Error(err, "unable to set up TLS security profile watcher")
			os.Exit(1)
		}
	}

	// Before starting controllers - create or patch volsync mover SCC and VolumePopulator CR if necessary
	ensureCRs(setupClient)

	initPodLogsClient(cfg)

	// Index fields that are required for the ReplicationSource controller
	if err := controller.IndexFieldsForReplicationSource(context.Background(), mgr.GetFieldIndexer()); err != nil {
		setupLog.Error(err, "unable to index fields for controller", "controller", "ReplicationSource")
		os.Exit(1)
	}
	if err = (&controller.ReplicationSourceReconciler{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…