Coder Social home page Coder Social logo

Comments (5)

bergner avatar bergner commented on July 4, 2024 1

I faced the same issue recently. I've been able to build successfully after updating dependencies in go.mod. Most notably sigs.k8s.io/controller-tools v0.2.4, and in the Makefile updating the controller-gen step to go get sigs.k8s.io/controller-tools/cmd/[email protected] instead of 0.2.0.

from adcs-issuer.

StefanSa avatar StefanSa commented on July 4, 2024

Thanks @bergner that helped.

from adcs-issuer.

lknite avatar lknite commented on July 4, 2024

I'm in an older kubernetes cluster, 1.18. Trying to get adcs-issuer to work. I've installed the older cert-manager 0.11.0 mentioned in the README. Installed the latest go, kubebuilder, and make. Cloned this repo and ran make, then make install. I implemented the change mentioned above, which helped.

Now I'm seeing the below error. Since you had the fix above thought maybe you had a little more experience working in an older environment. Till we get upgraded to the latest kubernetes, need to get cert-manager working in 1.18 if at all possible.

go get: downgraded github.com/jetstack/cert-manager v1.7.1 => v0.13.1
go get: downgraded sigs.k8s.io/controller-tools v0.7.0 => v0.2.4
/home/lknite/go/bin/controller-gen "crd:trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
controllers/adcsrequest_controller.go:29:2: no required module provides package github.com/jetstack/cert-manager/pkg/apis/certmanager/v1; to add it:
        go get github.com/jetstack/cert-manager/pkg/apis/certmanager/v1
Error: not all generators ran successfully
run `controller-gen crd:trivialVersions=true rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -w` to see all available markers, or `controller-gen crd:trivialVersions=true rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -h` for usage
make: *** [Makefile:48: manifests] Error 1

$ go get github.com/jetstack/cert-manager/pkg/apis/certmanager/v1
go get: upgraded github.com/jetstack/cert-manager v0.13.1 => v1.7.1
go get: upgraded sigs.k8s.io/controller-tools v0.2.4 => v0.7.0

from adcs-issuer.

bergner avatar bergner commented on July 4, 2024

@lknite I've had cert-manager v1.4.0 running on k8s 1.18 and I think also v1.3.1 at some point before that. Version 0.13.1 is much older and I wouldn't be surprised if a bunch of the yamls would need to reference "v1alpha" or similar rather than "v1".

from adcs-issuer.

lknite avatar lknite commented on July 4, 2024

@bergner Thank you, I may have found a solution to get the latest and greatest working. Troubleshooting. Will update here when I get it working.

from adcs-issuer.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.