apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

CRD ApisixGlobalRule is not automatically deployed by helm chart

Open sebschlue opened this issue 1 year ago • 1 comments

I have updated Apisix from chart version apisix-2.1.0 to chart version apisix-2.6.0 and noticed that CRD ApisixGlobalRule was missing. It did not get installed automatically.

I have now manually installed this missing CRD by running

kubectl apply --server-side -f https://raw.githubusercontent.com/apache/apisix-helm-chart/apisix-2.6.0/charts/apisix-ingress-controller/crds/ApisixGlobalRule.yaml

There does not seem to be a helm chart option like installCRDs = true/false or something similar.

And since the other CRDs may be outdated by now, I also update those but I need "--force-conflicts" because those CRDs were managed by Helm in the past and are apparently no longer managed by helm.

kubectl apply --force-conflicts --server-side -f https://raw.githubusercontent.com/apache/apisix-helm-chart/apisix-2.6.0/charts/apisix-ingress-controller/crds/customresourcedefinitions.yaml

So in this sense, there are two issues: a) the new CRD does not get deployed and b) the old CRDs do not get updated any more.

sebschlue avatar Mar 28 '24 13:03 sebschlue

I had to do the same. Expected a smother upgrade, tbh.

DGolubets avatar Apr 04 '24 15:04 DGolubets