Jenkins X error: secrets "jenkins" not found

5/27/2019

I am following this tutorial. I'm trying to create a Jenkins X app locally in minikube and setting it up with Github.

But when I do jx create quickstart and follow the steps I get error: secrets "jenkins" not found as error.

Also, I found out that there is no secret named jenkins

root@Unix:/home/dadart/Downloads# kubectl get secret -n jx jenkins
Error from server (NotFound): secrets "jenkins" not found

Someone please point out what I'm doing wrong.

-- noobie
jenkins
jenkins--x
kubernetes
minikube

1 Answer

5/28/2019

Please follow this post on Github with set-up "env settings" before installation.

You can find also in "Common problems" section "How do I get the Password and Username for Jenkins?"

As per documentation - it seems you missed some part during installation:

What happens during installation

Jenkins X generates an administration password for Monocular/Nexus/Jenkins and save it in secrets. It then retrieves git secrets for the helm install (so they can be used in the pipelines).

this can be helpful "jenkins image" issue.

In case you still notice more problems with jenkis installation please open an issue here

Please share with your findings

-- Hanx
Source: StackOverflow