Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate incorrect type when crd referenced corev1.ResourceQuotaStatus when using Applyconfiguration cmd #183

Open
Monokaix opened this issue Dec 30, 2024 · 0 comments

Comments

@Monokaix
Copy link
Member

  1. I have a CRD definition https://github.com/karmada-io/api/blob/909667dcc910097476e131616185beff3c460bc3/policy/v1alpha1/federatedresourcequota_types.go#L114, which imported corev1.ResourceQuotaStatus
  2. Applyconfiguration cmd generated an incorrect type, the input value v1.ResourceList is a value type but it assigned to ResourceQuotaStatus.Used with a pointer value.
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant