#Installeren tekton-pipelines: kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml #Installeren tekton-dashboard: kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/dashboard/latest/release-full.yaml #daarna: kubectl apply -f ingressroute-tls.yaml Taken die je vaak nodig hebt: kubectl apply -f https://github.com/tektoncd/catalog/raw/main/task/git-clone/0.10/git-clone.yaml kubectl apply -f https://github.com/tektoncd/catalog/raw/main/task/kaniko/0.7/kaniko.yaml kubectl apply -f https://github.com/tektoncd/catalog/raw/main/task/buildah/0.9/buildah.yaml kubectl apply -f https://github.com/tektoncd/catalog/raw/main/task/maven/0.4/maven.yaml kubectl apply -f https://github.com/tektoncd/catalog/raw/main/task/sonarqube-scanner/0.4/sonarqube-scanner.yaml kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/syft/0.1/syft.yaml kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/grype/0.1/grype.yaml kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/argocd-task-sync-and-wait/0.2/argocd-task-sync-and-wait.yaml kubectl apply -f /home/ubuntu/containers/kubernetes/dev/tekton/tasks/sbom/push-sbom-task.yaml kubectl apply -f /home/ubuntu/containers/kubernetes/dev/tekton/tasks/register-change/register-change-task.yaml kubectl apply -f /home/ubuntu/containers/kubernetes/dev/tekton/tasks/curl/curl-task.yaml /home/ubuntu/containers/kubernetes/dev/tekton/tasks/cosign/create-cosign-key-secret.sh /home/ubuntu/containers/kubernetes/dev/tekton/tasks/cosign/create-cosign-password-secret.sh kubectl apply -f /home/ubuntu/containers/kubernetes/dev/tekton/tasks/cosign/cosign-sign-task.yaml ## Voor deze laatste task moet je ook een configmap en een secret aanmaken!! #om TKN command-line te gebruiken: microk8s config > admin.conf sudo mv admin.conf /etc/kubernetes/ #Tekton triggers: kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml kubectl apply --filename \ https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml kubectl edit deployment tekton-dashboard -n tekton-pipelines system:serviceaccount:tekton-pipelines:tekton-dashboard → can delete pipelineruns = yes