banzaicloud / banzai-charts

Curated list of Banzai Cloud Helm charts used by the Pipeline Platform
Apache License 2.0
368 stars 283 forks source link

[prometheus-operator] Please rename resources into crds #1257

Closed julianxhokaxhiu closed 2 years ago

julianxhokaxhiu commented 3 years ago

Is your feature request related to a problem? Please describe. Hi, I'm trying to use your own chart to install the Prometheus operator agent, although I noticed it won't work on recent Kubernetes versions, throwing out this error:

unable to recognize "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

this happens because the CRDs are not defined yet upon installing the chart.

Describe the solution you'd like to see The quickest solution to this issue is to rename your chart resources folder to crds as stated in the official Helm documentation. This will ensure helm installs the CRDs first and then deploys the chart, installing it successfully.

Describe alternatives you've considered

Additional context N/A

Thank you in advance!