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

warning when applying CRDs into Kubernetes v1.22. #255

Open
zzxwill opened this issue Feb 28, 2022 · 2 comments
Open

warning when applying CRDs into Kubernetes v1.22. #255

zzxwill opened this issue Feb 28, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@zzxwill
Copy link
Collaborator

zzxwill commented Feb 28, 2022

Reported by @anoop2811.

make install
/Users/agopalakrishnan/go/bin/controller-gen "crd:trivialVersions=true" webhook paths="./..." output:crd:artifacts:config=chart/crds
kubectl apply -f chart/crds
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Warning: resource customresourcedefinitions/configurations.terraform.core.oam.dev is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
customresourcedefinition.apiextensions.k8s.io/configurations.terraform.core.oam.dev configured
Warning: resource customresourcedefinitions/providers.terraform.core.oam.dev is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
customresourcedefinition.apiextensions.k8s.io/providers.terraform.core.oam.dev configured
@zzxwill zzxwill added the good first issue Good for newcomers label Feb 28, 2022
@zzxwill
Copy link
Collaborator Author

zzxwill commented Mar 7, 2022

Hi @anoop2811 As the parent project oam-dev/kubevela hasn't upgraded to support v1.22, I will hold this issue. As most of time, Terraform Controller is released with oam-dev/kubevela.

@wonderflow
Copy link
Contributor

@zzxwill KubeVela has changed all CRD version from v1beta1 to v1, please also upgrade for the terraform controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants