Closed KieranP closed 5 years ago
please check versions of crds after helm3 upgrade istio-init. Below is from my test:
# kubectl get crds -o custom-columns=name:.metadata.name,version:.spec.version
name version
adapters.config.istio.io v1alpha2
attributemanifests.config.istio.io v1alpha2
authorizationpolicies.rbac.istio.io v1alpha1
clusterrbacconfigs.rbac.istio.io v1alpha1
destinationrules.networking.istio.io v1alpha3
envoyfilters.networking.istio.io v1alpha3
gateways.networking.istio.io v1alpha3
handlers.config.istio.io v1alpha2
httpapispecbindings.config.istio.io v1alpha2
httpapispecs.config.istio.io v1alpha2
instances.config.istio.io v1alpha2
meshpolicies.authentication.istio.io v1alpha1
policies.authentication.istio.io v1alpha1
quotaspecbindings.config.istio.io v1alpha2
quotaspecs.config.istio.io v1alpha2
rbacconfigs.rbac.istio.io v1alpha1
rules.config.istio.io v1alpha2
serviceentries.networking.istio.io v1alpha3
servicerolebindings.rbac.istio.io v1alpha1
serviceroles.rbac.istio.io v1alpha1
sidecars.networking.istio.io v1alpha3
templates.config.istio.io v1alpha2
virtualservices.networking.istio.io v1alpha3
@waret So I also made an issue on helm, and they referred me to this ticket: https://github.com/helm/helm/issues/6451#issuecomment-532855139
According to them, istio-init is using a crd-install hook which is no longer supported in Helm3. So istio-init needs to be migrated to use other means to install custom CRDs.
And according to this issue, looks like there is no plans to fix Helm3 support - https://github.com/istio/istio/issues/17167
So I'll go ahead and close this off then, as it seems neither party is wanting to patch either end to make this work :-)
i got the same error. helm version: 3.0.0 istio: v1.4.1
@waret your comment didn't seem to be addressed. It is not clear to me why this issue was closed. Namely, it seems helm 3 has the crds put into a folder rather than using a hook declaration. This issue was closed without sufficiently explaining what the hold up is. Why cant we just move the CRDs?
Looks like Helm3 is stricter on apiVersion and causing issues:
Commands:
Result: