Tekton is a powerful and flexible open-source framework for creating CI/CD systems, allowing developers to build, test, and deploy across cloud providers and on-premise systems.
Questions tagged [tekton]
156 questions
1
vote
1 answer
Kaniko: How to cache folders from Gatsby build in Kubernetes using Tekton?
I am building a CI/CD pipeline using Tekton on a bare metal Kubernetes Cluster. I have managed to cache the necessary images (Node & Nginx) and the layers, but how can I cache the .cache / public folders created by Gatsby build? These folders are…

Espen Finnesand
- 475
- 7
- 22
1
vote
1 answer
What are the best practices for Tekton implementation with multiple repositories with multiple deployments
We have multiple repositories that have multiple deployments in K8S.
Today, we have Tekton with the following setup:
We have 3 different projects, that should be build the same and deploy (they are just different repo and different name)
We defined…

Himberjack
- 5,682
- 18
- 71
- 115
1
vote
0 answers
/busybox/sh: syntax error: bad substitution with Tekton
I'm trying to pull source code from Github then build and push a docker image to docker hub using Tekton pipeline and Knative on Kubernetes cluster.
I'm following this link for the installation and setup of…

Arpitha
- 11
- 1
1
vote
1 answer
Volume Write Permissions
How can I give the non-root user full access to the mounted volume path in Kubernetes (pod)?
I'm using a volume on the host (/workspace/projects path) and writing to the directory as below.
volumeMounts:
-name: workspace
mountPath:…

testbg testbg
- 193
- 2
- 11
1
vote
1 answer
Automatically reclaim PersistentStorage (NFS mount) after PersistentStorageClaim is deleted?
Situation: Using Tekton tasks to build and deploy following this tutorial. After running the pipeline, it creates a pod that requires persistent volume. A persistent volume claim is automatically created to try and bind to a PV.
However, what if I…

Cat
- 15
- 7
1
vote
1 answer
Using kustomize for manual CD vs tekton automated CI/CD
What is the difference between using Kustomize and Tekton for deployment?
To me it looks like Kustomize is a lightweight CI/CD client developer tool where you manually go in and do your CI/CD, where Tekton is automated CI/CD running within…

Chris G.
- 23,930
- 48
- 177
- 302
0
votes
0 answers
Failed when waiting for zonal op: rpc error: code = Internal desc = operation operation-1693482096842-6043686d0d6bc-22ff6e1f-02d71dbf failed
GCP Kubernetes with tekton pipeline for GitClone task
Bind the service account to the cluster role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: file-system-access-binding
subjects:
- kind: ServiceAccount
…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
0 answers
link to go example Camel K->Pipelines->Tekton->DELEGATE BUILD TO OPERATOR is broken
the link for the example DELEGATE BUILD TO OPERATOR for tekton is broken ?
https://raw.githubusercontent.com/apache/camel-k/main/cicd/tekton/kamel-run/0.1/samples/run-operator-build.yaml
And someone have already do template CICD ArgoCD with camel-k…

Martel
- 23
- 2
0
votes
1 answer
How to pass the a VolumeClaimTemplate through tkn CLI and use them when starting a Pipeline so it applies to a PipelineRun
Is there a way to pass the claim as VolumeClaimTemplate and then provide its values to the pipeline so those are used when the PipelineRun is created at the execution of the pipeline instead of a PVC?
I have this VolumeClaimTemplate (see the image)…

3learner
- 29
- 5
0
votes
0 answers
Using taskRunSpecs for service account to clone, build, test and publish to gcp artifact library to maven failed
In the pipeline run, I have use taskRunSpecs to set the service account, the git clone is working fine, however with the GCP publish with the maven library failed with error message as
Failed to publish publication 'maven' to repository…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
0 answers
How to make tekton task to fail if curl command is failed inside task
I am working on a Tekton task that makes a cURL command request, extracts a response to a JSON file, and then extracts attributes from that JSON. I have noticed a behavior with my task that even if my cURL command fails, it does not fail the…

Karthik Peddineni
- 81
- 4
0
votes
0 answers
Tekton wraps CronJob YAML command lines?
Why does Tekton turn this:
- |
npm install playwright
mkdir tests
echo "import { test, expect } from '@playwright/test'" >> tests/chat.spec.js;
echo "" >>…

Cees Timmerman
- 17,623
- 11
- 91
- 124
0
votes
0 answers
Authentication failed for artifact registry maven in GCP using tekton pipeline to publish the java library
I have a requirement to publish the jar in the artifact registry of GCP using the tekton pipeline. So I have created a pipeline and pipeline run in local env as minikube for the below task
Clone the source code from bitbucket
Clean, build and…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
1 answer
"URL(\"xxxxxxx.git\") appears to need SSH authentication but no SSH credentials have been provided" Tekton pipeline
Using the tekton hub catalog git-clone task to clone the private repository for bitbucket. Keep getting an error as no SSH credentials have been provided
I have created a new namespace for the security context issue pods "xxxx" is forbidden:…

San Jaisy
- 15,327
- 34
- 171
- 290
0
votes
1 answer
pods "xxxx" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (containers "prepare", "place-scripts",
Install the git clone task from tekton hub
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/git-clone/0.9/git-clone.yaml
Git Secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: git-ssh-key-secret
namespace:…

San Jaisy
- 15,327
- 34
- 171
- 290