code: func (c *CertAuthorityV1) V2() *CertAuthorityV2 {
  	return &CertAuthorityV2{
  		Kind:    KindCertAuthority,
  		Version: V2,
  		Metadata: Metadata{
  			Name:      c.DomainName,
  			Namespace: defaults.Namespace,
  		},
  		Spec: CertAuthoritySpecV2{
  			Type:         c.Type,
  			ClusterName:  c.DomainName,
  			CheckingKeys: c.CheckingKeys,
  			SigningKeys:  c.SigningKeys,
  		},
  	}
  }
docs: // V2 returns V2 version of the resource