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

resource mapping not found for name #815

Closed
lysShub opened this issue Aug 18, 2023 · 3 comments
Closed

resource mapping not found for name #815

lysShub opened this issue Aug 18, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@lysShub
Copy link

lysShub commented Aug 18, 2023

Describe the problem

[root@XNCS-2-30 radondb]# helm search repo
NAME                    CHART VERSION   APP VERSION     DESCRIPTION                                       
radondb/mysql-operator  v3.0.0          v3.0.0          Open Source,High Availability Cluster,based o...

[root@XNCS-2-30 radondb]# helm install demo radondb/mysql-operator
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "radondb-mysql-certificate" namespace: "default" from "": no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "radondb-mysql-issuer" namespace: "default" from "": no matches for kind "Issuer" in version "cert-manager.io/v1"
ensure CRDs are installed first]

[root@XNCS-2-30 radondb]# ctl get crd
NAME                           CREATED AT
mysqlusers.mysql.radondb.com   2023-08-17T10:01:53Z

Environment:

[root@XNCS-2-30 radondb]# kubectl version
Client Version: v1.28.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.25.3
WARNING: version difference between client (1.28) and server (1.25) exceeds the supported minor version skew of +/-1

[root@XNCS-2-30 radondb]# helm version
version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}
@lysShub lysShub added the bug Something isn't working label Aug 18, 2023
@github-actions
Copy link

Hi! thanks for your contribution! great first issue!

@lysShub
Copy link
Author

lysShub commented Aug 18, 2023

指定下版本就好了

helm install demo  radondb/mysql-operator --version 0.1.0

@acekingke
Copy link
Contributor

or you can install certmanager first, or helm install demo charts/mysql-operator --set webhook.certManager.enable=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants