Closed kibernetik542 closed 2 years ago
Can you send the exception stack trace?
Thanks
Hi, I am getting only very short message.
Object reference not set to an instance of an object.
Nevermind, actually I missed
```
Metadata = new V1ObjectMeta
{
Name = "demo"
},
Spec = new V1CertificateSigningRequestSpec
{
Request = bases,
SignerName = "kubernetes.io/kube-apiserver-client",
Usages = new List<string> { "client auth" }
}
Hi we are trying, approve and save signing certificate key for k8s.
Our x509 Certificate generator looks like:
And our k8s code looks like:
Before we thought it was issue with certificate itself and manually replaced with working certificate, but issue is same, V1CertificateSigningRequest returns all time null reference exception. What can be wrong in code?