mysql-operator
mysql-operator copied to clipboard
helm v2 crd-install apiextensions.k8s.io/v1 does not work
helm v2 crd-install apiextensions.k8s.io/v1 does not work
fail(1): Error: unable to convert to CRD type: no kind "CustomResourceDefinition" is registered for version "apiextensions.k8s.io/v1" in scheme "k8s.io/client-go/kubernetes/scheme/register.go:67"
perhaps your k8s version is old? something like 1.15?
change the CRD apiVersion to apiextensions.k8s.io/v1beta1 and let's know if that works
perhaps your k8s version is old? something like 1.15?
change the CRD apiVersion to
apiextensions.k8s.io/v1beta1and let's know if that works
my k8s version 1.17 helm version 2.16.6
Modifying apiVersion directly to apiextensions.k8s.io/v1beta1 does not work
git tags v0.5.0-rc1 works
change the CRD apiVersion to apiextensions.k8s.io/v1beta1
Error: CustomResourceDefinition.apiextensions.k8s.io "mysqlbackups.mysql.presslabs.org" is invalid: spec.versions: Invalid value: []apiextensions.CustomResourceDefinitionVersion{apiextensions.CustomResourceDefinitionVersion{Name:"v1alpha1", Served:true, Storage:true, Schema:(*apiextensions.CustomResourceValidation)(0xc00f04a0c8), Subresources:(*apiextensions.CustomResourceSubresources)(nil), AdditionalPrinterColumns:[]apiextensions.CustomResourceColumnDefinition(nil)}}: per-version schemas may not all be set to identical values (top-level validation should be used instead)
Please try version 0.5.0 and let us know if this still happens. Also please note that we'll drop support for Helm v2 in 0.6.0 (see #731).