Skip to content

feat(ansible-run): expose SOPS decrypt fields (kcl-tekton-pr 0.8.0)#94

Merged
patrick-hermann-sva merged 5 commits into
mainfrom
feat/ansible-run-sops-params-0.8.0
Jul 15, 2026
Merged

feat(ansible-run): expose SOPS decrypt fields (kcl-tekton-pr 0.8.0)#94
patrick-hermann-sva merged 5 commits into
mainfrom
feat/ansible-run-sops-params-0.8.0

Conversation

@patrick-hermann-sva

Copy link
Copy Markdown
Contributor

Phase 2 of the SOPS work — makes decryptSops settable from the AnsibleRun XR.

  • XRD: decryptSops (enum true/false, default false), sopsFiles, sopsFilePattern (default *.sops.yaml), sopsAgeKeyFile (default age.agekey), sopsAgeKeySecretName (no XRD default → EnvironmentConfig-authoritative, KCL default sops-age-key).
  • Compositionkcl-tekton-pr:0.8.0 (passes sops params + binds the sopsKeys workspace when decryptSops=true; asserts the clone pipeline). meta v0.1.6v0.1.7.
  • xr-max exercises the fields via gitPath=pipelines/execute-ansible-playbooks.yaml.

KCL render-verified: OFF = clean; ON+clone = sops params + sopsKeys→sops-age-key; ON+from-collections = assert error.

🤖 Generated with Claude Code

patrick-hermann-sva and others added 5 commits July 15, 2026 11:07
…SOPS decrypt)

Points the composition at kcl-tekton-pr:0.7.0, which pins the rendered
PipelineRun's pipelineRef to the stage-time v0.7.0 tag (not main) and separates
the pipeline-definition source from the ansible-content source. The v0.7.0
pipelines also carry the optional SOPS decrypt-after-git-clone (gated, off by
default). Meta version v0.1.5 -> v0.1.6.

Verified on kind1: rendered PipelineRun pipelineRef.revision=v0.7.0; AnsibleRun
completes green with decrypt-sops skipped (decryptSops unset).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
XRD: add decryptSops, sopsFiles, sopsFilePattern, sopsAgeKeyFile,
sopsAgeKeySecretName (env-authoritative, no XRD default). Composition ->
kcl-tekton-pr:0.8.0; meta v0.1.6 -> v0.1.7. xr-max exercises the fields via the
clone pipeline. EnvironmentConfig supported-keys doc updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… unavailable)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-params-0.8.0

# Conflicts:
#	cicd/ansible-run/apis/composition.yaml
#	cicd/ansible-run/crossplane.yaml
@patrick-hermann-sva
patrick-hermann-sva merged commit c903634 into main Jul 15, 2026
1 of 2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

📦 ttl.sh preview packages

Preview OCI packages for the Configurations changed in this PR, pushed to the public, ephemeral ttl.sh registry. No auth required — install on any Crossplane v2 cluster:

📦 cicd/ansible-runttl.sh/stuttgart-things/crossplane-configurations-pr94-bff8174/ansible-run:24h
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
  name: ansible-run-preview
spec:
  package: ttl.sh/stuttgart-things/crossplane-configurations-pr94-bff8174/ansible-run:24h

Note

Images expire 24h after the last push (ttl.sh's maximum TTL); push a new commit to refresh them. The Configuration name is suffixed -preview so it won't clash with a canonical install.

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.

1 participant