Skip to content

Tekton chains#132

Open
minmzzhang wants to merge 5 commits into
validatedpatterns:mainfrom
minmzzhang:tekton-chains
Open

Tekton chains#132
minmzzhang wants to merge 5 commits into
validatedpatterns:mainfrom
minmzzhang:tekton-chains

Conversation

@minmzzhang
Copy link
Copy Markdown
Collaborator

feat: integrate Tekton Chains with RHTAS keyless signing via SPIFFE

Add a tekton-chains Helm chart that configures Tekton Chains on OpenShift Pipelines for supply chain security with RHTAS keyless signing. A PostSync Job patches the operator-managed TektonConfig CR with chain configuration (Fulcio, Rekor, TUF, in-toto attestations) via oc patch, avoiding Tekton webhook conflicts with direct resource management.

Includes:

  • charts/tekton-chains: Helm chart with RBAC + PostSync patch Job
  • scripts/features/tekton-chains.yaml: feature variant fragment
  • Updated features.yaml: tekton-chains depends on pipelines + rhtas;
    supply-chain now depends on tekton-chains
  • values-hub.yaml: commented-out application block at sync-wave 47
  • SYNC-WAVE-INVENTORY.md: updated deployment timeline and tables

minmzzhang and others added 4 commits May 8, 2026 09:13
Add a tekton-chains Helm chart that configures Tekton Chains on
OpenShift Pipelines for supply chain security with RHTAS keyless
signing. A PostSync Job patches the operator-managed TektonConfig
CR with chain configuration (Fulcio, Rekor, TUF, in-toto
attestations) via oc patch, avoiding Tekton webhook conflicts
with direct resource management.

Includes:
- charts/tekton-chains: Helm chart with RBAC + PostSync patch Job
- scripts/features/tekton-chains.yaml: feature variant fragment
- Updated features.yaml: tekton-chains depends on pipelines + rhtas;
  supply-chain now depends on tekton-chains
- values-hub.yaml: commented-out application block at sync-wave 47
- SYNC-WAVE-INVENTORY.md: updated deployment timeline and tables
…n tasks

The verify_artifact and verify_image functions unconditionally reference
OIDC_IDENTITY and OIDC_ISSUER, but these env vars were only injected when
rhtas.oidc.enabled was true. In SPIRE mode this caused an "unbound variable"
crash due to set -u. Move identity/issuer vars outside the OIDC conditional
since verification always needs them regardless of the signing method.
The default 256Mi limit from the quay chart causes OOMKilled when the
job runs oc apply to create the quay-config-with-s3 secret. Add the
override to values-hub.yaml (commented quay-registry section) and to
the feature fragments (quay.yaml, registry/option-1-quay.yaml).
@minmzzhang minmzzhang requested review from mlorenzofr, p-rog and sabre1041 and removed request for sabre1041 May 8, 2026 21:38
Comment thread charts/tekton-chains/templates/tektonconfig-chains.yaml Outdated
Comment thread charts/tekton-chains/templates/tektonconfig-chains.yaml Outdated
Comment thread charts/tekton-chains/templates/tektonconfig-chains.yaml Outdated
Comment thread charts/tekton-chains/templates/tektonconfig-chains.yaml
Comment thread charts/tekton-chains/templates/tektonconfig-chains.yaml
Copy link
Copy Markdown
Collaborator

@p-rog p-rog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a few minor suggestions.

minmzzhang added a commit to minmzzhang/layered-zero-trust that referenced this pull request May 11, 2026
…ns chart

Quote boolean Helm values (enableDeepInspection, transparency.enabled,
signers.x509.fulcio.enabled) so they render as JSON strings, matching
what TektonConfig chain spec expects. Add imagePullPolicy and resource
requests/limits to the PostSync Job container for consistency with
other pattern jobs.

Signed-off-by: Min Zhang <minzhang@redhat.com>
…ns chart

Quote boolean Helm values (enableDeepInspection, transparency.enabled,
signers.x509.fulcio.enabled) so they render as JSON strings, matching
what TektonConfig chain spec expects. Add imagePullPolicy and resource
requests/limits to the PostSync Job container for consistency with
other pattern jobs.

Signed-off-by: Min Zhang <minzhang@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants