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

cert-manager.io/v1alpha2: the server could not find the requested resource #91

Open
neoaggelos opened this issue Sep 28, 2023 · 1 comment

Comments

@neoaggelos
Copy link

Summary

The infrastructure components uses cert-manager/v1alpha2 API version for Cert Manager, whereas cert-manager/v1 should be used instead.

$ clusterctl init -i maas:v0.4.0 -b microk8s -c microk8s
Fetching providers
Installing cert-manager Version="v1.12.3"
Waiting for cert-manager to be available...
Installing Provider="cluster-api" Version="v1.5.2" TargetNamespace="capi-system"
Installing Provider="bootstrap-microk8s" Version="v0.6.2" TargetNamespace="capi-microk8s-bootstrap-system"
Installing Provider="control-plane-microk8s" Version="v0.6.2" TargetNamespace="capi-microk8s-control-plane-system"
Installing Provider="infrastructure-maas" Version="v0.4.0" TargetNamespace="capmaas-system"
Error: action failed after 10 attempts: failed to get current provider object: failed to get API group resources: unable to retrieve the complete list of server APIs: cert-manager.io/v1alpha2: the server could not find the requested resource
@antongisli
Copy link

antongisli commented Feb 16, 2024

hi there, you can try looking here to see how you can get things working:
https://github.com/antongisli/maas-clusterctl-hackup

I don't think any of that is necessary anymore, as I see that the README "hello world" was updated recently and I believe we have made the necessary fixes and updates to solve the issue you have above.

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

2 participants