Argocd 无法创建应用程序:权限被拒绝

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

我一直在尝试制作应用程序,但不断收到此错误。

项目列表:

argocd proj list
NAME        DESCRIPTION  DESTINATIONS  SOURCES  CLUSTER-RESOURCE-WHITELIST  NAMESPACE-RESOURCE-BLACKLIST  SIGNATURE-KEYS
  ORPHANED-RESOURCES
argocd                   <none>        <none>   <none>                      <none>                        <none>          disabled
argocdtest               <none>        <none>   <none>                      <none>                        <none>          disabled
default                  *,*           *        */*                         <none>                        <none>  

集群列表:

argocd cluster list
SERVER                          NAME        VERSION  STATUS   MESSAGE                                                  PROJECT
https://kubernetes.default.svc  in-cluster           Unknown  Cluster has no applications and is not being monitored.

账户列表:

argocd account list
NAME   ENABLED  CAPABILITIES
admin  true     login

可能是什么问题?我已经关注了Argocd指南

kubernetes continuous-deployment argocd gitops
1个回答
0
投票

好吧,这纯粹是个笑话。

如果有人收到此错误........

1st - 不要在名称中使用大写字母。 使用类似 my-app 的东西 而不是我的应用程序 为什么?我不知道。

2nd - 上下文可能会更改为 minikube 或其他内容,检查它并更改为正确的配置(kubectl 配置当前上下文)

3rd - 删除额外的步骤(它对我有用) 做类似here的东西 您可以复制粘贴方式并根据您的集群和需求进行更改。 祝你好运......

© www.soinside.com 2019 - 2024. All rights reserved.