aws/amazon-vpc-cni-k8s

valid openAPIV3 Schema

Opened this issue · 3 comments

What would you like to be added:
Update the ENIConfig CRD to include a valid openAPIV3 Schema

Why is this needed:
When creating ENIConfig resources using Terraform manifest resources, I receive a warning:

│ Warning: This custom resource does not have an associated OpenAPI schema.
│
│ We could not find an OpenAPI schema for this custom resource. Updates to this resource will cause a forced replacement.

Terraform issue: hashicorp/terraform-provider-kubernetes#1382

aws-vpc-cni will need to add complete schema definition here -

similar to AWS LB controller does here - https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/docs/install/v2_2_4_full.yaml#L37

@cyberox - would you like to use these changes in your terraform config #2969 and see if the terraform behavior is fixed?

@orsenthil - yes, those changes fix the issue.