ROOT CAUSE: - tektoncd/pipeline config/ dir uses ko:// image refs (build-time placeholders) - ArgoCD synced the raw dev manifests → InvalidImageName on all pods - tektoncd/operator requires its own CRDs and controller (too heavy) - Tekton has no official Helm chart FIX: - Vendor the pre-built release.yaml (v0.68.0) into k8s/infra/tekton/ - Point ArgoCD Application at our own repo (forgejo) - Release contains real container images (ghcr.io/tektoncd/pipeline/*) - Remove external tektoncd repo from AppProject (not needed) TO UPGRADE TEKTON: 1. Download new release from github.com/tektoncd/pipeline/releases 2. Replace k8s/infra/tekton/release.yaml 3. Commit — ArgoCD syncs automatically
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
# Tekton Pipelines v0.68.0
|
|
#
|
|
# Install method: vendored release.yaml in k8s/infra/tekton/
|
|
# downloaded from https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.68.0/release.yaml
|
|
#
|
|
# To upgrade:
|
|
# 1. Download new release.yaml from https://github.com/tektoncd/pipeline/releases
|
|
# 2. Replace k8s/infra/tekton/release.yaml
|
|
# 3. Commit and push — ArgoCD syncs automatically
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: tekton-pipelines
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/name: tekton-pipelines
|
|
app.kubernetes.io/part-of: homelab-infra
|
|
wave: "06"
|
|
spec:
|
|
project: homelab
|
|
|
|
source:
|
|
repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git
|
|
targetRevision: main
|
|
path: k8s/infra/tekton
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: tekton-pipelines
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|
|
|
|
ignoreDifferences:
|
|
- group: admissionregistration.k8s.io
|
|
kind: ValidatingWebhookConfiguration
|
|
jsonPointers:
|
|
- /webhooks/0/clientConfig/caBundle
|
|
- /webhooks
|
|
- group: admissionregistration.k8s.io
|
|
kind: MutatingWebhookConfiguration
|
|
jsonPointers:
|
|
- /webhooks/0/clientConfig/caBundle
|
|
- /webhooks
|