Issue:
In the CRD chart, Helm combines all CRD files into one file and saves the file into a configMap, then Helm runs a pod to install/uninstall CRDs by reading the file from the configMap.
But in the latest monitoring v2 chart, the creation of the configMap fails because the size exceeds the 1MB limit set by k8s.
Also, the issue cannot be fixed in the Helm chart since Helm does not support compressing files.
Fix:
When preparing the CRD chart, a new file that combines all CRDs is created and compressed by gzip. Then Helm chart can use this file to create the configMap.
The CRD-chart templates in the rancher-monitoring package also need to be updated in order to use this new file. https://github.com/rancher/charts/pull/1567
Issue: In the CRD chart, Helm combines all CRD files into one file and saves the file into a configMap, then Helm runs a pod to install/uninstall CRDs by reading the file from the configMap. But in the latest monitoring v2 chart, the creation of the configMap fails because the size exceeds the 1MB limit set by k8s. Also, the issue cannot be fixed in the Helm chart since Helm does not support compressing files.
Fix: When preparing the CRD chart, a new file that combines all CRDs is created and compressed by gzip. Then Helm chart can use this file to create the configMap. The CRD-chart templates in the rancher-monitoring package also need to be updated in order to use this new file. https://github.com/rancher/charts/pull/1567