Closed adamgoose closed 4 years ago
I suspect this leads to an even greater level of incompatibility with < 1.16.0, since Kudo utilizes CRDs heavily. While your docs say 1.13+ is supported, I'm either not convinced or missing something.
I think this is related to #1126
thanks, @adamgoose for creating the issue this was reported in slack also https://kubernetes.slack.com/archives/CG3HTFCMV/p1591871155415200
we should update the docs to +1.16.0
as now we use ApiextensionsV1
to detect cert-manager CRDs https://github.com/kudobuilder/kudo/blob/main/pkg/kudoctl/kudoinit/prereq/webhook.go#L182
After further inspection, the web hook prereq is the only place v1 is used in the whole repo. I pulled the repo, checked out 0.14.0, and swapped two instances of v1 to v1beta1, and everything has been working fine.
On Jul 7, 2020 at 3:45 AM, <Zain Malik (mailto:notifications@github.com)> wrote:
thanks, @adamgoose (https://github.com/adamgoose) for creating the issue this was reported in slack also https://kubernetes.slack.com/archives/CG3HTFCMV/p1591871155415200
we should update the docs to +1.16.0 as now we use ApiextensionsV1 to detect cert-manager CRDs https://github.com/kudobuilder/kudo/blob/main/pkg/kudoctl/kudoinit/prereq/webhook.go#L182
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/kudobuilder/kudo/issues/1577#issuecomment-654697758), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAEVF7HKL3ZDWGYAMV3N7GLR2LOD7ANCNFSM4OR6H7HA).
What happened:
When trying to run
kubectl kudo init -v4
on Kubernetes 1.15.11, I get the following logs:This is caused here because
apiextensions.k8s.io/v1
isn't available until Kubernetes 1.16.0.What you expected to happen:
w00p w00p it init'd properly!
How to reproduce it (as minimally and precisely as possible):
Run
kubectl kudo init
against a 1.15 cluster.Environment:
kubectl version
): client 1.16.6-beta.0, server 1.15.11-eks-af3cafkubectl kudo version
): 0.14.0