Practice test-kube config lab exercise

Hello,

The exercise is marked as not passed not because my solution does not work (I can run any kubectl command and get the pods), but because my solution does not match yours.

i.e. I renamed the certificate as per the name shown in the error message, but you want the kube-config file to be modified to point at the existing cert with its existing name.

I think my solution is valid too.

Regards.

Hi @Mundofik

While renaming the certificates may functionally work, it might not be the best approach. Keep in mind that the certificates have already been generated, and modifying them in any way is generally not recommended. You will need to utilize these certificates to configure user access to the cluster.

In the context of the lab, the primary focus is on resolving the kubeconfig misconfiguration, and it is essential that we address this issue.

Certificate management is a complex subject, which you might encounter/ed in the upcoming labs.

Regards.

I get your point, but a working solution should not be marked as wrong.
A copy of the original cert does not affect anything, nothing gets re-genarated.

The grader in the lab looks for what’s mandated in the question; the complete path to certs for the dev-user to be updated in kubeconfig with available cert in the pre-defined directory.

Though you have not generated any new certs, you have renamed the cert ( which, as I explained above, is not a recommended practice), and the kube-config is not updated. That’s why the grader fails your solution.

PS: Please note we are dealing with kubeconfig in this module and not on managing certs. Hence, our focus is on mis/configs in kubeconfig.