code: func NewClusterConfig(spec ClusterConfigSpecV3) (ClusterConfig, error) {
  	cc := ClusterConfigV3{
  		Kind:    KindClusterConfig,
  		Version: V3,
  		Metadata: Metadata{
  			Name:      MetaNameClusterConfig,
  			Namespace: defaults.Namespace,
  		},
  		Spec: spec,
  	}
  	if err := cc.CheckAndSetDefaults(); err != nil {
  		return nil, trace.Wrap(err)
  	}
  
  	return &cc, nil
  }
docs: // NewClusterConfig is a convenience wrapper to create a ClusterConfig resource.