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
kubectl apply but if you're managing your K8s cluster through terraform it's a pain to integrate.
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:
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 tocrds
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!