-
Notifications
You must be signed in to change notification settings - Fork 557
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Since Kubernetes v1.22 apiextensions.k8s.io/v1beta1 is not supported for CustomResourceDefinitions. This prevents installing Devtron via helm, because it fails with the following error:
Error: INSTALLATION FAILED: failed to install CRD crds/crd-devtron.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
Since v1.22 only the apiextensions.k8s.io/v1 is supported.
Motivation
I would like to install Devtron in a cluster on k8s version v1.22.3.
Proposal
A future proof solution would be to include something like useLegacyCrdApi in the values and when it's enabled the CRDs could be rendered with the old API. People could use that for old Kubernetes versions. Since apiextensions.k8s.io/v1 is supported since v1.16 (which is quite old now) I suppose the number of affected users would be minimal.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request