You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it is not work, and this is the message about import resources:
completionTime: '2023-04-03T08:18:20Z'
conditions:
- lastTransitionTime: '2023-04-03T08:18:20Z'
message: 'failed to create task run pod "import-resources-1680509900181-fetch-repo": pods "import-resources-1680509900181-fetch-repo-pod" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (containers "prepare", "place-scripts", "step-clone" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (containers "prepare", "place-scripts", "step-clone" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "prepare", "place-scripts" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "prepare", "place-scripts", "step-clone" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost"). Maybe invalid TaskSpec'
reason: CouldntGetTask
status: 'False'
type: Succeeded
podName: ''
startTime: '2023-04-03T08:18:20Z'
taskSpec:
params:
- description: The URL of the git repository from which resources are to be imported
name: repositoryURL
type: string
....
Hi @chq3272991, thanks for reporting this. I'll update the tutorial with additional instructions and possibly also update the Dashboard to require fewer permissions to run the import PipelineRun.
In the meantime you can apply the following resources on the cluster and then you will be able to use the default namespace + default service account in the advanced configuration section.
Expected behavior
Hello, I try to learn this, Import some Tekton resources using the Tekton Dashboard. There are two tasks and one pipeline.
Actual behaviour
But it is not work, and this is the message about import resources:
this ui like this ,
Steps to reproduce the bug
Install Tekton Triggers
Installing Tekton Dashboard on Kubernetes
Additional info
Kubernetes version: v1.24.2
Docker Desktop: 4.11.1 (84025)
Tekton versions:
Output of
tkn version
orThe text was updated successfully, but these errors were encountered: