Datree 仪表板登录在验证令牌时出错

问题描述 投票:0回答:0

我尝试在 https://app.datree.io/webhook-instructions 上登录到 datree 仪表板。但是我无法登录它,因为每当我运行此命令时都会出现错误:

            helm install -n datree datree-webhook datree-webhook/datree-admission-webhook \
            --create-namespace \
            --set datree.token=5fb***2ac0 \
            --debug

这是我得到的输出:

install.go:178: [debug] Original chart version: ""
install.go:199: [debug] CHART PATH: /home/nikhil/.cache/helm/repository/datree-admission-webhook-0.3.14.tgz

client.go:128: [debug] creating 1 resource(s)
client.go:128: [debug] creating 20 resource(s)
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job datree-label-namespaces-hook-post-install with timeout of 5m0s
client.go:556: [debug] Add/Modify event for datree-label-namespaces-hook-post-install: ADDED
client.go:595: [debug] datree-label-namespaces-hook-post-install: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-label-namespaces-hook-post-install: MODIFIED
client.go:595: [debug] datree-label-namespaces-hook-post-install: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-label-namespaces-hook-post-install: MODIFIED
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job datree-wait-server-ready-hook-post-install with timeout of 5m0s
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: ADDED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: MODIFIED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: MODIFIED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: MODIFIED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: MODIFIED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 1, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for datree-wait-server-ready-hook-post-install: MODIFIED
client.go:595: [debug] datree-wait-server-ready-hook-post-install: Jobs active: 1, jobs failed: 1, jobs succeeded: 0
client.go:299: [debug] Starting delete for "datree-wait-server-ready-hook-post-install" Job
Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
helm.go:88: [debug] failed post-install: timed out waiting for the condition
INSTALLATION FAILED
main.newInstallCmd.func2
    helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
    github.com/spf13/[email protected]/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
    github.com/spf13/[email protected]/command.go:974
github.com/spf13/cobra.(*Command).Execute
    github.com/spf13/[email protected]/command.go:902
main.main
    helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
    runtime/proc.go:225
runtime.goexit
    runtime/asm_amd64.s:1371

enter image description here

预期行为 登录到 datree 仪表板

桌面(请填写以下信息): 操作系统:Ubuntu

Datree版本(运行datree版本): 版本:1.8.1

环境:Minikube

kubernetes 版本:客户端版本:v1.25.4 自定义版本:v4.5.7 服务器版本:v1.25.3

客户端 ID (cat ~/.datree/config.yaml): client_id:XXaKCoqJSBKNMb3AounaUg

请帮我解决这个问题。 谢谢

kubernetes kubernetes-helm minikube
© www.soinside.com 2019 - 2024. All rights reserved.