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
Cannot Create CSR. #2418
Comments
Which version of client are you using? |
oh, okay. It's on 4.10.3. Will try to reproduce |
Isn't CertificateSigningRequest a cluster scoped resource? I think this is a bug in fabric8 kubernetes model which is considering it as a namespaced resource. We need to add kubernetes-client/kubernetes-model-generator/pkg/schemagen/generate.go Lines 565 to 580 in 71772d3
|
…paced + Add new resources in Cluster scope block in kubernetes model generator + Fix previous tests which were wrongly asserting Cluster Scoped resources as Namespaced resources + Add dsl entrypoint client.certificateSigningRequests() for dealing with CertificateSigningRequests
…paced + Add new resources in Cluster scope block in kubernetes model generator + Fix previous tests which were wrongly asserting Cluster Scoped resources as Namespaced resources + Add dsl entrypoint client.certificateSigningRequests() for dealing with CertificateSigningRequests
I wanted to create a CSR, but I got errors.
I am using fabric8 k8s client
4.10.3
.CSR manifest
k8s-csr.yaml
looks like this:And I wrote some codes to create csr with reading external above csr manifest:
I got the following errors:
I have tried creating csr in the above manifest file with kubectl like this:
With kubectl, there is no problem to create csr.
Any idea how to create CSR using fabric8 client?
The text was updated successfully, but these errors were encountered: