【问题标题】:k3s gitlab ci-cd issue with default service account默认服务帐户的 k3s gitlab ci-cd 问题
【发布时间】:2021-01-20 12:12:18
【问题描述】:

我正在尝试在 k3s 上部署一个简单的 Angular 应用程序已安装 GitLab-runner 具有作为集群管理员角色的 GitLab 服务,它应该能够运行所有但我无法部署它:

rules:
 - apiGroups:
 - ""
  resources:
 - '*'
  verbs:
 - '*'

我还尝试专门添加动词“应用程序” - 行为没有变化

from server for: "deployment.yaml": deployments.apps "gitlab-master" is forbidden: User "system:serviceaccount:gitlab-managed-apps:default" cannot get resource "deployments" in API group "apps" in the namespace "gitlab-managed-apps"

【问题讨论】:

    标签: continuous-integration gitlab continuous-deployment k3s


    【解决方案1】:

    到目前为止,唯一的解决方案是使用具有 Gitlab-admin 权限的 SA...

    【讨论】:

      猜你喜欢
      • 2022-12-31
      • 1970-01-01
      • 2022-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-15
      相关资源
      最近更新 更多