我正在关注this教程。我正在尝试在 minikube 本地创建一个 Jenkins X 应用程序,并使用 Github 进行设置。
但是当我执行jx create faststart
并按照步骤操作时,我收到错误:未找到 secret “jenkins”
错误。
另外,我发现没有名为jenkins
的 secret
root@Unix:/home/dadart/Downloads# kubectl get secret -n jx jenkins
Error from server (NotFound): secrets "jenkins" not found
有人请指出我做错了什么。
最佳答案
请按照 Github 上的这篇文章设置“env 设置”before installation .
您还可以在“常见问题”部分 "How do I get the Password and Username for Jenkins?" 中找到
根据文档 - 看来您在安装过程中错过了某些部分:
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).
这可能会有所帮助“ Jenkins 图像”issue .
如果您仍然发现 jenkis 安装有更多问题,请打开一个问题 here
请分享您的发现
关于 Jenkins X 错误 : secrets "jenkins" not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56325197/