我正在尝试使用 minikube 在本地练习这些步骤。从我本地的 teokton-dashboard 中,我可以使用 git url 导入资源。我遵循了所有步骤,但是在创建管道运行时,我收到错误,因为来自服务器的错误(禁止):创建“config/service.yaml”时出错。我尝试使用默认命名空间以及 tekton-pipeline 命名空间。我使用 tekton-dashboard 作为 serviceAccount。
[![Error from server (Forbidden): error when retrieving current configuration of:
Resource: "apps/v1, Resource=deployments", GroupVersionKind: "apps/v1, Kind=Deployment"
Name: "myapp", Namespace: "tekton-pipelines"
from server for: "config/deployment.yaml": deployments.apps "myapp" is forbidden: User "system:serviceaccount:tekton-pipelines:tekton-dashboard" cannot get resource "deployments" in API group "apps" in the namespace "tekton-pipelines"
Error from server (Forbidden): error when creating "config/service.yaml": services is forbidden: User "system:serviceaccount:tekton-pipelines:tekton-dashboard" cannot create resource "services" in API group "" in the namespace "tekton-pipelines"][1]][1]
附上截图供参考