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

e2e test failed due to deprecated kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" #1739

Closed
huikang opened this issue Jan 3, 2022 · 0 comments · Fixed by #1740
Labels
bug Something isn't working

Comments

@huikang
Copy link
Member

huikang commented Jan 3, 2022

Summary

What happened/what you expected to happen?

Install CRDs step success in e2e test, but it failed with the following error message

customresourcedefinition.apiextensions.k8s.io/rollouts.argoproj.io created
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/istio.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "test/e2e/crds/split.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

Diagnostics

The k3s used by e2e is v1.22, which has deprecated CustomResourceDefinition

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122

What version of Argo Rollouts are you running?

master

# Paste the logs from the rollout controller

# Logs for the entire controller:
kubectl logs -n argo-rollouts deployment/argo-rollouts

# Logs for a specific rollout:
kubectl logs -n argo-rollouts deployment/argo-rollouts | grep rollout=<ROLLOUTNAME>

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@huikang huikang added the bug Something isn't working label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant