Comments (5)
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.
Thanks @bergner that helped.
from adcs-issuer.
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.
@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.
@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)
- Compiled Version? HOT 58
- certificates stuck processing adcsrequests HOT 1
- Update to latest cert-manager
- If you have forked this project and are managing a current working repository, please comment your repo in this issue (so others can find it) HOT 5
- Is this project alive? HOT 7
- Infinite Loop on new Certificate instance HOT 1
- How to make a correct "caBundle" HOT 3
- wrong, not valid ca.crt is generated HOT 4
- example of ADCS Cluster issuer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adcs-issuer.