Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm install does not install - no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first #221

Open
jimsmith opened this issue Jan 4, 2024 · 1 comment

Comments

@jimsmith
Copy link

jimsmith commented Jan 4, 2024

Hi,

Doing a fresh installation first time into a kubernetes 1.26.10 cluster and this fails to install from Helm Charts

no matter what helm command I use this fails to install, it looks like your helm charts are not static (https://github.com/redhat-cop/vault-config-operator/tree/main/config/helmchart) and don't include the CRDs (maybe?)

$ helm repo add vault-config-operator https://redhat-cop.github.io/vault-config-operator
$ helm repo update
$ helm search repo vault-config-operator
NAME                                            CHART VERSION   APP VERSION     DESCRIPTION                                  
vault-config-operator/vault-config-operator     v0.8.25         v0.8.25         Helm chart that deploys vault-config-operator
$ helm install --namespace vault-config-operator --create-namespace vault-config-operator vault-config-operator/vault-config-operator
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "vault-config-operator-controller-manager-metrics-monitor" namespace: "vault-config-operator" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first

$ helm install vault-config-operator/vault-config-operator --generate-name
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "vault-config-operator-controller-manager-metrics-monitor" namespace: "default" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
ensure CRDs are installed first
@jimsmith
Copy link
Author

jimsmith commented Jan 4, 2024

Current workaround is to set enableMonitoring=false

$ helm install --namespace vault-config-operator --create-namespace vault-config-operator vault-config-operator/vault-config-operator --set enableMonitoring=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant