Creating a Jenkins X Kubernetes cluster with GKE throws exception: secrets "jenkins" not found

3/3/2021

When I try to create a Jenkins X Kubernetes cluster with GKE using this command:

jx create cluster gke --skip-login

The following exeption is thrown at the end of installation:

error creating cluster configuring Jenkins: creating Jenkins API token: after 3 attempts, last error: creating Jenkins Auth configuration: secrets "jenkins" not found

During installation I select the default settings and provide my own github settings, including generated personal access token, but I don't think that the github token is the issue in this case (I'm pretty sure all my github settings are correct)

-- Mykhailo Skliar
github
gitops
google-kubernetes-engine
jenkins-x
kubernetes

1 Answer

3/3/2021

The problem has been solved by using --tekton flag:

jx create cluster gke --skip-login --tekton
-- Mykhailo Skliar
Source: StackOverflow