func GetResources(operatorConfig config.OperatorConfig) ([]client.Object, error) {
	assets, err := getAssets(operatorConfig)
	if err != nil {
		if _, isPlatformNotFoundError := err.(*platformNotFoundError); isPlatformNotFoundError {
			klog.Infof("platform not supported: %v", err)
			return nil, nil
		}
		klog.Errorf("can not get assets: %v", err)
		return nil, err
	}
	renderedObjects := assets.GetRenderedResources()
	substitutedObjects := common.SubstituteCommonPartsFromConfig(operatorConfig, renderedObjects)
	return substitutedObjects, nil
}
// GetResources selectively returns a list of resources required for
// provisioning CCM instance in the cluster for the given OperatorConfig.
//
// These resources will be actively maintained by the operator, preventing
// changes in their spec. However you can extend any resource spec with
// values not specified in the provided source resource. These changes
// would be preserved.
GetResources selectively returns a list of resources required for
provisioning CCM instance in the cluster for the given OperatorConfig.

These resources will be actively maintained by the operator, preventing
changes in their spec. However you can extend any resource spec with
values not specified in the provided source resource. These changes
would be preserved.
// GetResources selectively returns a list of resources required for // provisioning CCM instance in the cluster for the given OperatorConfig . // // These resources will be actively maintained by the operator preventing // changes in their spec . However you can extend any resource spec with // values not specified in the provided source resource . These changes // would be preserved .
func GetResources(operatorConfig config.OperatorConfig) ([]client.Object, error) {
	assets, err := getAssets(operatorConfig)
	if err != nil {
		if _, isPlatformNotFoundError := err.(*platformNotFoundError); isPlatformNotFoundError {
			klog.Infof("platform not supported: %v", err)
			return nil, nil
		}
		klog.Errorf("can not get assets: %v", err)
		return nil, err
	}
	renderedObjects := assets.GetRenderedResources()
	substitutedObjects := common.SubstituteCommonPartsFromConfig(operatorConfig, renderedObjects)
	return substitutedObjects, nil
}
func GetResources ( operatorConfig config . OperatorConfig ) ( [ ] client . Object , error ) { assets , err := getAssets ( operatorConfig ) if err != nil { if _ , isPlatformNotFoundError := err . ( * platformNotFoundError ) ; isPlatformNotFoundError { klog . Infof ( " " , err ) return nil , nil } klog . Errorf ( " " , err ) return nil , err } renderedObjects := assets . GetRenderedResources ( ) substitutedObjects := common . SubstituteCommonPartsFromConfig ( operatorConfig , renderedObjects ) return substitutedObjects , nil }
GetResources selectively returns a list of resources required for
provisioning CCM instance in the cluster for the given OperatorConfig.
GetResources selectively returns a list of resources required for provisioning CCM instance in the cluster for the given OperatorConfig .