Mock test 2 Q -6

I am getting while creating cert using yaml.

error: error validating “john.yaml”: error validating data: ValidationError(CertificateSigningRequest.spec): missing required field “signerName” in io.k8s.api.certificates.v1.CertificateSigningRequestSpec; if you choose to ignore these errors, turn validation off with --validate=false

Hi @karkarbhautik, I think maybe you’re missing the signerName field:

Regards,
Vitor Jr.
KodeKloud Support

Hi Vitor,

I followed solution video but didn’t mention about this.Could you please suggest what change require.

Can you send me the link to this task to check, please?

Regards,
Vitor Jr.
KodeKloud Support

Thanks Vitor for quick reply.I have added signeranme in yaml and it’s working now but it’s not mention in solution video.

That’s great :), but can you share the link, please? If it’s missing, we need to check and fix it.

Regards,
Vitor Jr.
KodeKloud Support

https://kodekloud.com/topic/solution-cka-mock-exam-2-optional/

1 Like

Thanks for sharing the link @karkarbhautik.
I just checked the mock exam, and the problem is that the video was made with an earlier version of Kubernetes.
But you can check a message about this in the question itself and also a note mentioning this change from 1.19 (and you can also see that the solution is correct using the signerName parameter):

Regards,
Vitor Jr.
KodeKloud Support

1 Like