Hi team , I am getting an error in lab test 2 question 6 ( approved ,failed) . C . . .

Debdoot:
Hi team , I am getting an error in lab test 2 question 6 ( approved ,failed) . Can anybody tell me what is the problem , sharing the logs ( John CSR logs) with you guys .


unnivkn:
just run this code

unnivkn:
cat <<EOF | kubectl apply -f -
apiVersion: http://certificates.k8s.io/v1|certificates.k8s.io/v1
kind: CertificateSigningRequest
metadata:
name: john-developer
spec:
groups:

Debdoot:
No @unnivkn it is not working . can you please tryout this query in your system and share me the whole log. Thanks in advance

unnivkn:
can you please share your log/errors ?

Debdoot:
Apologies , it worked now , i was doing some mistake .One query , why you inserted
groups: - system:authenticated and usages: - client auth. Actually i was following K8s docs link https://kubernetes.io/docs/tasks/tls/managing-tls-in-a-cluster/. Can you me the difference between your logic and k8s documentation logic.

Debdoot:

image.png