使用GKE创建Jenkins X Kubernetes集群会引发异常:机密"jenkins"未找到 [英] Creating a Jenkins X Kubernetes cluster with GKE throws exception: secrets "jenkins" not found
本文介绍了使用GKE创建Jenkins X Kubernetes集群会引发异常:机密"jenkins"未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试使用以下命令使用GKE创建Jenkins X Kubernetes集群时:
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
在安装过程中,我选择默认设置并提供自己的github设置,包括生成的个人访问令牌,但在这种情况下,我认为github令牌不是问题(我很确定我所有的github设置都是正确)
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)
推荐答案
已使用--tekton标志解决了该问题:
The problem has been solved by using --tekton flag:
jx create cluster gke --skip-login --tekton
这篇关于使用GKE创建Jenkins X Kubernetes集群会引发异常:机密"jenkins"未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文