• DevOps
  • 按照文档安装sonarqube无法找到kubesphere chart repository

创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

操作系统信息
例如:虚拟机,Centos7.7,8C/16G

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

Client Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.4”, GitCommit:“e87da0bd6e03ec3fea7933c4b5263d151aafd07c”, GitTreeState:“clean”, BuildDate:“2021-02-18T16:12:00Z”, GoVersion:“go1.15.8”, Compiler:“gc”, Platform:“linux/amd64”}

Server Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.4”, GitCommit:“e87da0bd6e03ec3fea7933c4b5263d151aafd07c”, GitTreeState:“clean”, BuildDate:“2021-02-18T16:03:00Z”, GoVersion:“go1.15.8”, Compiler:“gc”, Platform:“linux/amd64”}

容器运行时
docker version / crictl version / nerdctl version 结果贴在下方

Client: Docker Engine - Community

Version: 20.10.17

API version: 1.41

Go version: go1.17.11

Git commit: 100c701

Built: Mon Jun 6 23:05:12 2022

OS/Arch: linux/amd64

Context: default

Experimental: true

KubeSphere版本信息
v3.1.1。在线安装。kk安装。

问题是什么

按照文档下图安装sonarqube但提示不是有效的仓库

[root@ks01 sonar]# helm upgrade –install sonarqube sonarqube –repo https://charts.kubesphere.io/main -n kubesphere-devops-system –create-namespace –set service.type=NodePort

Release “sonarqube” does not exist. Installing it now.

Error: looks like “https://charts.kubesphere.io/main” is not a valid chart repository or cannot be reached: failed to fetch https://charts.kubesphere.io/main/index.yaml : 403 Forbidden

[root@ks01 sonar]#

5 天 后

不知道官方有没有什么方法,能够离线安装sonarqube么?有时候环境上不一定能连上网

2 个月 后